In a fictional DescribeInstances denial, CloudTrail records the session and its issuing role in separate fields.
| Field | Recorded value |
|---|---|
userIdentity.type | AssumedRole |
userIdentity.arn | arn:aws:sts::111122223333:assumed-role/Inventory/scan-42 |
userIdentity.sessionContext.sessionIssuer.arn | arn:aws:iam::111122223333:role/Inventory |
Send the role ARN to the policy owner. Use the request ID, time and session details to correlate the event with the job or the recorded role assumption. A session name such as scan-42 can be supplied when a role is assumed. Treat it as a correlation value. If the organization records an enforced source identity, include it with the evidence. CloudTrail user identity reference ยท STS AssumeRole session name and source identity
Read the recorded event from the trail or event store configured for the operation. A current STS caller check can diagnose a credential change since the incident, but it cannot fill a missing historical identity.