Identities recorded in lineage events
AWS services record who ran each job in the lineage event. You can query these identities in the lineage system table for audits.
Identity fields
| Field | Description | Example |
|---|---|---|
execution_role |
The IAM role that ran the job and accessed data | arn:aws:iam::111122223333:role/emr-job-role |
submitted_by |
The principal that started the job or session | arn:aws:sts::111122223333:assumed-role/airflow-prod/run |
on_behalf_of |
The identity the work ran for, such as a person or an orchestrator | arn:aws:identitystore::111122223333:identitystore/d-1234567890/94482488-... |
on_behalf_of_type |
How on_behalf_of was determined |
IDENTITY_CENTER_USER |
Note
If AWS can't find the role that ran the job, all identity fields are empty. If you send events yourself with PostLineageEvent, the identity fields show what you send, and AWS Glue Data Catalog doesn't check them.
Values of on_behalf_of_type
| Value | Meaning |
|---|---|
IDENTITY_CENTER_USER |
An AWS IAM Identity Center user, for example through trusted identity propagation |
IAM_FEDERATION |
A federated IAM principal. |
WORKLOAD_IDENTITY |
A workload identity. |
NONE |
No on-behalf-of identity was recorded. |
Identities by service
| Service | execution_role |
submitted_by |
|---|---|---|
| Amazon EMR on EC2 | Runtime role, or the EC2 instance profile | The caller of AddJobFlowSteps |
| Amazon EMR Serverless | Job runtime role | The caller of StartJobRun |
| Amazon EMR on EKS | Job execution role | The caller of StartJobRun |
| AWS Glue | Job IAM role | The caller of StartJobRun |
Considerations
For limitations, see Considerations.