Deprecated

Removed from AWS on 2021-04-02 - Active for 1 year, 7 months

AWSCloudTrailFullAccess

Last Modified

Sep 16, 2019

September 16, 2019 at 03:19 PM UTC

Version

v8

Total Versions

9

Created

Sep 12, 2019

Actions

23

Risk

High

An 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

    Can rewrite resource policies and sharing

    Grants 2 permissions management actions across 2 services (s3, sns) on any resource, enough to share resources outside the account.

    s3:putbucketpolicysns:addpermission

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

  • Medium

    Can read data in every bucket or table

    Reads any object in any S3 bucket. Read-only is not the same as harmless when the data is the asset.

    s3:GetObject

    Use with caution: Read access to data is still access to data. For people who only need to see configuration, ViewOnlyAccess carries none of these signals.

  • 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": [
        {
          "Effect": "Allow",
          "Action": [
            "sns:AddPermission",
            "sns:CreateTopic",
            "sns:DeleteTopic",
            "sns:ListTopics",
            "sns:SetTopicAttributes",
            "sns:GetTopicAttributes"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "s3:CreateBucket",
            "s3:DeleteBucket",
            "s3:ListAllMyBuckets",
            "s3:PutBucketPolicy",
            "s3:ListBucket",
            "s3:GetObject",
            "s3:GetBucketLocation",
            "s3:GetBucketPolicy"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": "cloudtrail:*",
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "logs:CreateLogGroup"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "iam:ListRoles",
            "iam:GetRolePolicy",
            "iam:GetUser"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "iam:PassRole"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": "cloudtrail.amazonaws.com"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "kms:ListKeys",
            "kms:ListAliases"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "lambda:ListFunctions"
          ],
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v8",
    "IsDefaultVersion": true,
    "CreateDate": "2019-09-12T23:08:46Z"
  }
}

Version History (9 recorded)

Raw history

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

49aa1d0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

71619cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

8279033

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 13, 2019

6f9cde3

`2019-08-29`

No recorded action delta - this version predates the change index. View the raw diff.

Aug 29, 2019

5016d52

I 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

9d2dff1

Update

No recorded action delta - this version predates the change index. View the raw diff.

May 22, 2019

bf2d038

Update

No recorded action delta - this version predates the change index. View the raw diff.

May 21, 2019

3a88905

First commit

No recorded action delta - this version predates the change index. View the raw diff.

Feb 10, 2019

ad4c2e8