CloudTrailServiceRolePolicy
Last Modified
Mar 12, 2026
March 12, 2026 at 09:28 PM UTC
Version
v3
Total Versions
9
Created
Nov 27, 2023
Actions
8
Risk
HighAn unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- High
Can switch off security monitoring
Can stop a CloudTrail trail, delete a CloudTrail trail, redirect or narrow a CloudTrail trail, change which events CloudTrail records, which is how an intruder hides.
cloudtrail:StopLogging (via cloudtrail:*)cloudtrail:DeleteTrail (via cloudtrail:*)cloudtrail:UpdateTrail (via cloudtrail:*)cloudtrail:PutEventSelectors (via cloudtrail:*)Use with caution: Deny these actions with an SCP for everyone outside a break-glass role, so no single policy can blind you.
- Medium
Full cloudtrail access on every resource
Uses cloudtrail:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.
cloudtrail:*Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CloudTrailFullAccess",
"Effect": "Allow",
"Action": [
"cloudtrail:*"
],
"Resource": "*"
},
{
"Sid": "AwsOrgsAccess",
"Effect": "Allow",
"Action": [
"organizations:DescribeAccount",
"organizations:DescribeOrganization",
"organizations:ListAccounts",
"organizations:ListAWSServiceAccessForOrganization"
],
"Resource": [
"*"
]
},
{
"Sid": "AwsOrgsDelegatedAdminAccess",
"Effect": "Allow",
"Action": "organizations:ListDelegatedAdministrators",
"Resource": "*",
"Condition": {
"StringEquals": {
"organizations:ServicePrincipal": [
"cloudtrail.amazonaws.com"
]
}
}
},
{
"Sid": "DeleteTableAccess",
"Effect": "Allow",
"Action": "glue:DeleteTable",
"Resource": [
"arn:*:glue:*:*:catalog",
"arn:*:glue:*:*:database/aws:cloudtrail",
"arn:*:glue:*:*:table/aws:cloudtrail/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "DeregisterResourceAccess",
"Effect": "Allow",
"Action": "lakeformation:DeregisterResource",
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
},
"VersionId": "v3",
"IsDefaultVersion": true,
"CreateDate": "2023-11-27T01:18:10+00:00"
}
}Version History (12 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.
Nov 27, 2023
234d862Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 3, 2022
50f6351Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 3, 2022
0f12eb6Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 16, 2019
49aa1d0Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 16, 2019
71619cfUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 16, 2019
8279033`2019-08-29`
No recorded action delta - this version predates the change index. View the raw diff.
Aug 29, 2019
5016d52I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not
No recorded action delta - this version predates the change index. View the raw diff.
Jul 12, 2019
9d2dff1First commit
No recorded action delta - this version predates the change index. View the raw diff.
Feb 10, 2019
ad4c2e8