AWSManagedServices_DetectiveControlsConfig_ServiceRolePolicy
Last Modified
Mar 12, 2026
March 12, 2026 at 09:26 PM UTC
Version
v1
Total Versions
1
Created
Dec 19, 2022
Actions
30
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 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.
- cloudformation:CreateChangeSet: on arn:aws:cloudformation:*:*:stack/ams-detective-controls-config-recorder, arn:aws:cloudformation:*:*:stack/ams-detective-controls-config-rules-cdk, arn:aws:cloudformation:*:*:stack/ams-detective-controls-infrastructure-cdk
- cloudformation:ExecuteChangeSet: on arn:aws:cloudformation:*:*:stack/ams-detective-controls-config-recorder, arn:aws:cloudformation:*:*:stack/ams-detective-controls-config-rules-cdk, arn:aws:cloudformation:*:*:stack/ams-detective-controls-infrastructure-cdk
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": [
"cloudformation:UpdateTermination*",
"cloudformation:CreateStack",
"cloudformation:DeleteStack",
"cloudformation:DescribeStackResources",
"cloudformation:CreateChangeSet",
"cloudformation:DescribeChangeSet",
"cloudformation:ExecuteChangeSet",
"cloudformation:GetTemplateSummary",
"cloudformation:DescribeStacks"
],
"Resource": [
"arn:aws:cloudformation:*:*:stack/ams-detective-controls-config-recorder",
"arn:aws:cloudformation:*:*:stack/ams-detective-controls-config-rules-cdk",
"arn:aws:cloudformation:*:*:stack/ams-detective-controls-infrastructure-cdk"
]
},
{
"Effect": "Allow",
"Action": [
"config:DescribeAggregationAuthorizations",
"config:PutAggregationAuthorization",
"config:TagResource",
"config:PutConfigRule"
],
"Resource": [
"arn:aws:config:*:*:aggregation-authorization/540708452589/*",
"arn:aws:config:*:*::config-rule/*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetBucketPolicy",
"s3:CreateBucket",
"s3:DeleteBucket",
"s3:DeleteBucketPolicy",
"s3:DeleteObject",
"s3:ListBucket",
"s3:ListBucketVersions",
"s3:GetBucketAcl",
"s3:PutObject",
"s3:PutBucketAcl",
"s3:PutBucketLogging",
"s3:PutBucketObjectLockConfiguration",
"s3:PutBucketPolicy",
"s3:PutBucketPublicAccessBlock",
"s3:PutBucketTagging",
"s3:PutBucketVersioning",
"s3:PutEncryptionConfiguration"
],
"Resource": "arn:aws:s3:::ams-config-record-bucket-*"
}
]
},
"VersionId": "v1",
"IsDefaultVersion": true,
"CreateDate": "2022-12-19T23:11:17+00:00"
}
}Version History (4 recorded)
Raw historyAWSManagedServices_DetectiveControlsConfig_ServiceRolePolicy - Policy Version v1
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
8fa00f7Update 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.
Dec 20, 2022
cd0aa4c