Auditability with the simplified experience for TIP
With the simplified experience for TIP, AWS Glue attributes every action it takes on the user's behalf to the individual user, not only to the shared IAM role. You can audit this activity in two ways: AWS CloudTrail and system tables.
Auditability using AWS CloudTrail
You can use AWS CloudTrail management events to audit these actions and trace which person accessed which resource and when.
AWS CloudTrail auditing is available with AWS Glue 5.0 and later.
AWS CloudTrail records the user's identity in the onBehalfOf section of each relevant event. On the IAM Identity Center path, the onBehalfOf section includes subject (the user's identifier from your identity source), subjectType, userId, identityStoreArn, and identityCenterInstanceArn. The issuer is the IAM Identity Center instance ARN. For the full list of fields, see AWS CloudTrail fields for the simplified experience for trusted identity propagation.
In IAM policies, you match the user with the aws:OriginIdentity/Subject condition key. AWS CloudTrail records the same value as onBehalfOf.subject.
The following example shows the onBehalfOf section for the IAM Identity Center path with the simplified experience for TIP:
"userIdentity": { "type": "AssumedRole", "principalId": "AROA123456789EXAMPLE:session-example", "arn": "arn:aws:sts::111122223333:assumed-role/DataAnalystRole/session-example", "accountId": "111122223333", "sessionContext": { "sessionIssuer": { "type": "Role", "principalId": "AROA123456789EXAMPLE", "arn": "arn:aws:iam::111122223333:role/DataAnalystRole", "accountId": "111122223333", "userName": "DataAnalystRole" } }, "onBehalfOf": { "userId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "identityStoreArn": "arn:aws:identitystore::111122223333:identitystore/d-EXAMPLE123", "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef", "subject": "example-user-1", "subjectType": "user", "issuer": "arn:aws:sso:::instance/ssoins-1234567890abcdef" } }
Auditability using system tables
The same per-user propagated identity that appears in the onBehalfOf section is also queryable in system tables, in addition to AWS CloudTrail. This is the subject identity on whose behalf AWS Glue acted.
System tables auditing is available with AWS Glue 6.1 and later.