Auditing with AWS CloudTrail
When trusted identity propagation is active, AWS CloudTrail records the individual user behind each request, in addition to the IAM role that was used. The IAM role remains the principal of the event, and the individual's identity appears in the userIdentity element, so your compliance teams get per-user audit trails for activity that originates in Amazon SageMaker Unified Studio.
How the individual appears in the event depends on the identity path:
IAM federation – The individual appears in the
onBehalfOfelement, with thesubjectthat identifies the user, thesubjectType, theissuer, and thefederatedProviderArnof the IAM identity provider. The attributes that you mapped as runtime claims appear undertransactionContext.IdentityProvider.IAM Identity Center – The
userIdentitytype of the event isIdentityCenterUser, and theonBehalfOfelement includes the user'suserIdand theidentityStoreArnof the identity store.
For the complete userIdentity field reference and AWS CloudTrail logging details, see the AWS CloudTrail documentation and the AWS Identity and Access Management documentation.