View a markdown version of this page

Auditing with AWS CloudTrail - Amazon SageMaker Unified Studio

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 onBehalfOf element, with the subject that identifies the user, the subjectType, the issuer, and the federatedProviderArn of the IAM identity provider. The attributes that you mapped as runtime claims appear under transactionContext.IdentityProvider.

  • IAM Identity Center – The userIdentity type of the event is IdentityCenterUser, and the onBehalfOf element includes the user's userId and the identityStoreArn of 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.