When looking at audit events form API connect we get a response similar to the codeblock at the end.
When referencing other API Connect objects we have lines like below taken from the example at the end.
"url": "/api/user-registries/d1492948-75a4-4974-9fe0-f48f1251fefa/3dc10ddd-d570-4c07-9af1-9ec9f0ecd611/users/910d3aff-3045-43c4-8663-02f55cf8758d".
It is not clear to a human which user repository (3dc10ddd-d570-4c07-9af1-9ec9f0ecd611) , provider org (d1492948-75a4-4974-9fe0-f48f1251fefa) or user (910d3aff-3045-43c4-8663-02f55cf8758d) that this is referering.
This request is to replace the above IDs with the human readable names that are also available in all locations that IDs are referenced today.
If the API Connect system has gone down there is no way to quickly realise what each ID is referring to.
{
"id": "00fcf2f67c4c4da27ec638f33bb33576",
"typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event",
"action": "delete",
"outcome": "success",
"eventType": "activity",
"reason": {
"reasonCode": "200",
"reasonType": "HTTP"
},
"eventTime": "2024-04-08T12:43:54.589Z",
"initiator": {
"id": "/api/user-registries/d1492948-75a4-4974-9fe0-f48f1251fefa/3dc10ddd-d570-4c07-9af1-9ec9f0ecd611/users/910d3aff-3045-43c4-8663-02f55cf8758d",
"name": "consumer:d1492948-75a4-4974-9fe0-f48f1251fefa:465b45cf-e597-4369-a92e-fc7cd7f74da7:sandbox-idp/chris",
"typeURI": "service/security/account/user"
},
"target": {
"id": "71bbdd77-f7c7-445f-93f2-5b150b5b79dc",
"typeURI": "subscription"
},
"observer": {
"id": "target"
},
"requestPath": "/consumer-api/apps/50611ce1-366e-48ef-a692-561068adcdac/a29353b7-8d27-45a1-9403-e17bc151e391/subscriptions/71bbdd77-f7c7-445f-93f2-5b150b5b79dc",
"requestData": {
"url": "/consumer-api/apps/50611ce1-366e-48ef-a692-561068adcdac/a29353b7-8d27-45a1-9403-e17bc151e391/subscriptions/71bbdd77-f7c7-445f-93f2-5b150b5b79dc"
},
"responseData": {
"id": "71bbdd77-f7c7-445f-93f2-5b150b5b79dc",
"url": "[[redacted]]/integration/apis/apic/small/consumer-api/apps/50611ce1-366e-48ef-a692-561068adcdac/a29353b7-8d27-45a1-9403-e17bc151e391/subscriptions/71bbdd77-f7c7-445f-93f2-5b150b5b79dc",
"name": "71bbdd77-f7c7-445f-93f2-5b150b5b79dc",
"title": "71bbdd77-f7c7-445f-93f2-5b150b5b79dc",
"state": "enabled",
"task_urls": []
},
"attachments": [
{
"timestamp": {
"start": "2024-04-08T12:43:54.404Z",
"end": "2024-04-08T12:43:54.589Z"
},
"cloud_name": "[[redacted]]",
"request_id": "00fcf2f67c4c4da27ec638f33bb33576",
"method": "delete",
"operation": "subscription_del",
"summary": "Delete the Subscription object by name or id",
"resource": "subscription",
"user": {
"url": "/api/user-registries/d1492948-75a4-4974-9fe0-f48f1251fefa/3dc10ddd-d570-4c07-9af1-9ec9f0ecd611/users/910d3aff-3045-43c4-8663-02f55cf8758d",
"context": "consumer:d1492948-75a4-4974-9fe0-f48f1251fefa:465b45cf-e597-4369-a92e-fc7cd7f74da7",
"idp_name": "sandbox-idp",
"name": "chris"
},
"registration": {
"url": "/api/cloud/registrations/140a3359-2f83-4b78-96cc-d16c68d73e4e",
"type": "portal"
}
}
]
}