AWSCodeBuildDeveloperAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v21

Total Versions

17

Created

Feb 12, 2026

Actions

40

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 take over existing resources that run as another role

    Grants every action of 2 documented escalation paths on any resource with no condition, and 1 more in a scoped form.

    • codebuild-002codebuild:StartBuildunrestricted
    • codebuild-003codebuild:StartBuildBatchunrestricted
    • ssm-001ssm:StartSessionscoped
      • ssm:StartSession: on arn:aws:ecs:*:*:task/*/*

    Use with caution: List the roles attached to the functions, instances, pipelines or notebooks it can modify: the holder effectively has them too.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Statement": [
        {
          "Sid": "AWSServicesAccess",
          "Action": [
            "codebuild:StartBuild",
            "codebuild:StopBuild",
            "codebuild:StartBuildBatch",
            "codebuild:StopBuildBatch",
            "codebuild:RetryBuild",
            "codebuild:RetryBuildBatch",
            "codebuild:BatchGet*",
            "codebuild:GetResourcePolicy",
            "codebuild:DescribeTestCases",
            "codebuild:DescribeCodeCoverages",
            "codebuild:List*",
            "codecommit:GetBranch",
            "codecommit:GetCommit",
            "codecommit:GetRepository",
            "codecommit:ListBranches",
            "cloudwatch:GetMetricStatistics",
            "events:DescribeRule",
            "events:ListTargetsByRule",
            "events:ListRuleNamesByTarget",
            "logs:GetLogEvents",
            "s3:GetBucketLocation",
            "s3:ListAllMyBuckets"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Sid": "SSMParameterWriteAccess",
          "Effect": "Allow",
          "Action": [
            "ssm:PutParameter"
          ],
          "Resource": "arn:aws:ssm:*:*:parameter/CodeBuild/*"
        },
        {
          "Sid": "SSMStartSessionAccess",
          "Effect": "Allow",
          "Action": [
            "ssm:StartSession"
          ],
          "Resource": "arn:aws:ecs:*:*:task/*/*"
        },
        {
          "Sid": "SSMOpenDataChannelAccess",
          "Effect": "Allow",
          "Action": [
            "ssmmessages:OpenDataChannel"
          ],
          "Resource": "arn:aws:ssm:*:*:session/*"
        },
        {
          "Sid": "CodeStarConnectionsUserAccess",
          "Effect": "Allow",
          "Action": [
            "codestar-connections:ListConnections",
            "codestar-connections:GetConnection"
          ],
          "Resource": [
            "arn:aws:codestar-connections:*:*:connection/*",
            "arn:aws:codeconnections:*:*:connection/*"
          ]
        },
        {
          "Sid": "CodeStarNotificationsReadWriteAccess",
          "Effect": "Allow",
          "Action": [
            "codestar-notifications:CreateNotificationRule",
            "codestar-notifications:DescribeNotificationRule",
            "codestar-notifications:UpdateNotificationRule",
            "codestar-notifications:Subscribe",
            "codestar-notifications:Unsubscribe"
          ],
          "Resource": "*",
          "Condition": {
            "ArnLike": {
              "codestar-notifications:NotificationsForResource": "arn:aws:codebuild:*:*:project/*"
            }
          }
        },
        {
          "Sid": "CodeStarNotificationsListAccess",
          "Effect": "Allow",
          "Action": [
            "codestar-notifications:ListNotificationRules",
            "codestar-notifications:ListEventTypes",
            "codestar-notifications:ListTargets",
            "codestar-notifications:ListTagsforResource"
          ],
          "Resource": "*"
        },
        {
          "Sid": "SNSTopicListAccess",
          "Effect": "Allow",
          "Action": [
            "sns:ListTopics",
            "sns:GetTopicAttributes"
          ],
          "Resource": "*"
        },
        {
          "Sid": "CodeStarNotificationsChatbotAccess",
          "Effect": "Allow",
          "Action": [
            "chatbot:DescribeSlackChannelConfigurations",
            "chatbot:ListMicrosoftTeamsChannelConfigurations"
          ],
          "Resource": "*"
        }
      ],
      "Version": "2012-10-17"
    },
    "VersionId": "v21",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:01:34+00:00"
  }
}

Version History (22 recorded)

Raw history

AWSCodeBuildDeveloperAccess - Policy Version v21

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

Mar 12, 2026

de95eea

AWSCodeBuildDeveloperAccess - Policy Version v21

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

Feb 12, 2026

2ebc038

AWSCodeBuildDeveloperAccess - Policy Version v19

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

Feb 12, 2026

6f06adb

AWSCodeBuildDeveloperAccess - Policy Version v17

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

Jan 15, 2026

745a329

Update detected

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

Dec 16, 2024

59a7107

Update detected

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

Sep 18, 2024

aafbae9

Update detected

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

May 13, 2024

1b36617

Update detected

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

Aug 1, 2023

e7aab7f

Update detected

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

Sep 14, 2020

de60d5e

Update detected

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

Jul 30, 2020

c831bbf

Update detected

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

Jul 21, 2020

d1cac53

Update detected

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

Apr 3, 2020

bcb7d7c

Update detected

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

Jan 3, 2020

f43544b

Update detected

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

Nov 26, 2019

f693044

Update detected

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

Nov 6, 2019

c9d7316

Update detected

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

Oct 9, 2019

0084ff2

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

`2019-08-29`

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

Aug 29, 2019

5016d52