AmazonSageMakerPipelinesIntegrations
Last Modified
Mar 12, 2026
March 12, 2026 at 09:28 PM UTC
Version
v3
Total Versions
3
Created
Feb 17, 2023
Actions
18
Risk
MediumThe same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- Medium
Can launch resources that run as a more privileged role
Grants the actions of 2 documented escalation paths, but only on named resources or under a condition. Review that scope before trusting it.
- iam:PassRole: condition iam:PassedToService, on arn:aws:iam::*:role/*
- iam:PassRole: condition iam:PassedToService, on arn:aws:iam::*:role/*
- lambda:CreateFunction: on arn:aws:lambda:*:*:function:*sagemaker*, arn:aws:lambda:*:*:function:*sageMaker*, arn:aws:lambda:*:*:function:*SageMaker*
- lambda:InvokeFunction: on arn:aws:lambda:*:*:function:*sagemaker*, arn:aws:lambda:*:*:function:*sageMaker*, arn:aws:lambda:*:*:function:*SageMaker*
Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.
- Medium
Can take over existing resources that run as another role
Grants the actions of 2 documented escalation paths, but only on named resources or under a condition. Review that scope before trusting it.
- lambda:UpdateFunctionCode: on arn:aws:lambda:*:*:function:*sagemaker*, arn:aws:lambda:*:*:function:*sageMaker*, arn:aws:lambda:*:*:function:*SageMaker*
- lambda:UpdateFunctionCode: on arn:aws:lambda:*:*:function:*sagemaker*, arn:aws:lambda:*:*:function:*sageMaker*, arn:aws:lambda:*:*:function:*SageMaker*
- lambda:InvokeFunction: on arn:aws:lambda:*:*:function:*sagemaker*, arn:aws:lambda:*:*:function:*sageMaker*, arn:aws:lambda:*:*:function:*SageMaker*
Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"lambda:CreateFunction",
"lambda:DeleteFunction",
"lambda:GetFunction",
"lambda:InvokeFunction",
"lambda:UpdateFunctionCode"
],
"Resource": [
"arn:aws:lambda:*:*:function:*sagemaker*",
"arn:aws:lambda:*:*:function:*sageMaker*",
"arn:aws:lambda:*:*:function:*SageMaker*"
]
},
{
"Effect": "Allow",
"Action": [
"sqs:CreateQueue",
"sqs:SendMessage"
],
"Resource": [
"arn:aws:sqs:*:*:*sagemaker*",
"arn:aws:sqs:*:*:*sageMaker*",
"arn:aws:sqs:*:*:*SageMaker*"
]
},
{
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "arn:aws:iam::*:role/*",
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"lambda.amazonaws.com",
"elasticmapreduce.amazonaws.com",
"ec2.amazonaws.com"
]
}
}
},
{
"Effect": "Allow",
"Action": [
"events:DescribeRule",
"events:PutRule",
"events:PutTargets"
],
"Resource": [
"arn:aws:events:*:*:rule/SageMakerPipelineExecutionEMRStepStatusUpdateRule",
"arn:aws:events:*:*:rule/SageMakerPipelineExecutionEMRClusterStatusUpdateRule"
]
},
{
"Effect": "Allow",
"Action": [
"elasticmapreduce:AddJobFlowSteps",
"elasticmapreduce:CancelSteps",
"elasticmapreduce:DescribeStep",
"elasticmapreduce:RunJobFlow",
"elasticmapreduce:DescribeCluster",
"elasticmapreduce:TerminateJobFlows",
"elasticmapreduce:ListSteps"
],
"Resource": [
"arn:aws:elasticmapreduce:*:*:cluster/*"
]
}
]
},
"VersionId": "v3",
"IsDefaultVersion": true,
"CreateDate": "2023-02-17T21:28:19+00:00"
}
}Version History (6 recorded)
Raw historyscope changed, no action added or removed
Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 18, 2024
aafbae9Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 13, 2024
1b36617Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Feb 17, 2023
58ba312Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Apr 20, 2022
20515efUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Jul 30, 2021
5bb1b77