on ‎2023 Apr 26 8:09 AM
There are the values tenant, org_id, and space_id that appear in the BTP Audit Log Viewer.
The tenant_id could be checked from the BTP Cockpit.
Where can this be found in the BTP Cockpit?
"message_uuid": "e3a533c1-57b3-42b5-b514-8934ec5b6a6a",
"time": "2018-10-04T08:12:00.239Z",
"tenant": "c6da83a8-dc72-4374-b8f7-42b37a99",
"org_id": "82f1da92-e5b3-4cc5-8c90-964165af",
"space_id": "82f1da92-e5b3-4cc5-8c90-964165a",
"app_or_service_id": "5fb40c3a-d36a-42c7-adc8-e4abd83d",
"als_service_id": "c18f9b6d-a8af-431c-a187-749ebc59",
"user": "test",
"category": "audit.security-events",
"format_version": "",
"message": {
"uuid": " e3a533c1-57b3-42b5-b514-8934ec5b6a6a ",
"user": "test",
"time": "2018-10-04T08:12:00.239Z",
"ip": "10.58.183.15",
"data": "{\"level\":\"INFO\",\"origin\":null,\"msgNo\":1,\"msgId\":\"a2cf08ee-eedd-455b-bbd6- 400d6b611116\",\"message\":\"ClientAuthenticationSuccess ('Client authentication success'): principal=sb-40ae21f3-5034-40dd-ac0d-0c9d3e0ebb06!b3034|auditlog-management!b3034, origin=[remoteAddress=52.58.183.15, clientId=sb-40ae21f3-5034-40dd-ac0d-0c9d3e0ebb06!b3034|auditlog-management!b3034], identityZoneId=[c6da83a8-dc72-4374-b8f7-42b37a99db2b]\",\"user\":null,\"version\":\"1.0\"}",
"id": "cb046a0f-cc23-406b-a1d2-22ee6cf89a4d",
"category": "audit.security-events",
"tenant": "c6da83a8-dc72-4374-b8f7-42b37a99"
}
}
Request clarification before answering.
To find the spaceID, navigate to the required space in your Subaccount and copy space ID from the URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Anil
Thank you very much.
I checked and it is listed in the BTP Cokpit environment variable.
I searched in Log Viewer and it was the value of customer-space, not space_id.
I am not sure what id space_id represents, but I understood that what is listed in customer-space is the id of the space that can be seen by the user.
Thanks!
Best regards.
Kaito

Dear KAito,
i asked myself the same question a few weeks ago.
I didn't find any option to figure out those GUIDs in the BTP cockpit (except the mentioned tenant ID).
I helped myself by using the Cloud Foundry CLI with the following command:
cf space <space_name> --guid
As a result you will get the GUID of the space name.

Unfortunately, I have no easy way how to display a list of all space GUIDs or make a reverse search (=> from GUID to space name). If someone has a solution for this I would appreciate any input on that 🙂
Best regards,
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Johannes,
Thank you. With the information you gave me, I was able to get the guid.
However, the values I see in Audit Log Viewer are still different. It is different from any guid in the space that exists.
Is one of the values encrypted?
I am also concerned that org_id and space_id have the same value. Do you know anything about this?
Best regards,
Kaito
Dear KAito,
the org id and space id do not have the same value - there is a difference at the end with the ending "f".
I am not so familiar with analysis of Audit Log, but I wouldn't expect that the values are encrypted.
Have you been able to track and find at least the tenant and org id via the CLI?
Before searching for the right space GUID it is important to target the right API endpoint and CF org.
Otherwise, you will see completely different space GUID.
Best regards,
Johannes
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.