SAP Knowledge Base Article - Preview

3368207 - How to convert user_id from Audit Log to human readable format

Symptom

You are using the SAP KBA 2637286 to trigger Audit Logs for SAP Business Technology Platform (SAP BTP) and are unable to interpret the user_id parameter. For example in the below excerpt from the API output, it is not clear as to which user did the role collection amendment.

********************************************

time\":\"2023-05-19T05:22:49.031885Z\",\"id\":\"c21823b0-9b87-44f6-a86a-b1e6cc3730e7\",\"success\":true,\"object\":{\"type\":\"xs_rolecollection2user\",\"id\":{\"tableName\":\"xs_rolecollection2user\",\"crudType\":\"CREATE\",\"creationTimestamp\":\"2023-05-19T05:22:49.031885Z\",\"origin\":\"ldap\",\"onBehalfOf\":\"1f239a94-c2ca-4f8b-8a9b-aef3bb11b5e9\",\"user_id\":\"c72drdt1-1876-4986-kde8-30438ea50c21\",\"rolecollection_identity_zone_id\":\"19560bba-88f6-4f99-8b3e-700ccb62c96e\",\"rolecollection_name\":\"TEST_UD_Integration_Admin\"}},\"attributes\":[{\"name\":\"operation\",\"old\":\"\",\"new\":\"CREATE\"}],\"status\":\"END\",\"category\":\"audit.configuration\",\"identityProvider\":\"ldap\",\"tenant\":\"19560bba-88f6-4f99-8b3e-700ccb62c96e\",\"customDetails\":{}}"
},{

*********************************************


Read more...

Environment

  • SAP Business Technology Platform (SAP BTP)
  • SAP Cloud Foundry (CF)
  • Release Independent

Product

SAP BTP, Cloud Foundry runtime and environment all versions ; SAP Business Technology Platform all versions

Keywords

Audit Logs, user, User ID , KBA , BC-CP-CF-SEC-IAM , UAA, Authentication, Authorization, Trust Mgmnt , BC-CP-CF-SEC-AUDITLG , Audit Log Service for SAP BTP Cloud foundry environment , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.