AWSCodePipeline_FullAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v3

Total Versions

3

Created

Mar 14, 2024

Actions

68

Risk

Medium

The 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

    Full codepipeline access on every resource

    Uses codepipeline:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.

    codepipeline:*

    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.

  • Medium

    Flagged by AWS IAM Access Analyzer

    AWS's own policy validation raises 1 security warning: STRING_LIKE_OPERATOR_WITH_ARN_CONDITION_KEYS.

    • Use the operator type ARN instead of operator string for the condition key codestar-notifications:NotificationsForResource.

    Use with caution: Read AWS's finding and the documentation it links to.

IAM Access Analyzer (1)

  • Security warning / STRING_LIKE_OPERATOR_WITH_ARN_CONDITION_KEYS

    Use the operator type ARN instead of operator string for the condition key codestar-notifications:NotificationsForResource. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Statement": [
        {
          "Action": [
            "codepipeline:*",
            "cloudformation:DescribeStacks",
            "cloudformation:ListStacks",
            "cloudformation:ListChangeSets",
            "cloudtrail:DescribeTrails",
            "codebuild:BatchGetProjects",
            "codebuild:CreateProject",
            "codebuild:ListCuratedEnvironmentImages",
            "codebuild:ListProjects",
            "codecommit:ListBranches",
            "codecommit:GetReferences",
            "codecommit:ListRepositories",
            "codedeploy:BatchGetDeploymentGroups",
            "codedeploy:ListApplications",
            "codedeploy:ListDeploymentGroups",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "ecr:DescribeRepositories",
            "ecr:ListImages",
            "ecs:ListClusters",
            "ecs:ListServices",
            "elasticbeanstalk:DescribeApplications",
            "elasticbeanstalk:DescribeEnvironments",
            "iam:ListRoles",
            "iam:GetRole",
            "lambda:ListFunctions",
            "events:ListRules",
            "events:ListTargetsByRule",
            "events:DescribeRule",
            "opsworks:DescribeApps",
            "opsworks:DescribeLayers",
            "opsworks:DescribeStacks",
            "s3:ListAllMyBuckets",
            "sns:ListTopics",
            "codestar-notifications:ListNotificationRules",
            "codestar-notifications:ListTargets",
            "codestar-notifications:ListTagsforResource",
            "codestar-notifications:ListEventTypes",
            "states:ListStateMachines"
          ],
          "Effect": "Allow",
          "Resource": "*",
          "Sid": "CodePipelineAuthoringAccess"
        },
        {
          "Action": [
            "s3:GetObject",
            "s3:ListBucket",
            "s3:GetBucketPolicy",
            "s3:GetBucketVersioning",
            "s3:GetObjectVersion",
            "s3:CreateBucket",
            "s3:PutBucketPolicy"
          ],
          "Effect": "Allow",
          "Resource": "arn:aws:s3::*:codepipeline-*",
          "Sid": "CodePipelineArtifactsReadWriteAccess"
        },
        {
          "Action": [
            "cloudtrail:PutEventSelectors",
            "cloudtrail:CreateTrail",
            "cloudtrail:GetEventSelectors",
            "cloudtrail:StartLogging"
          ],
          "Effect": "Allow",
          "Resource": "arn:aws:cloudtrail:*:*:trail/codepipeline-source-trail",
          "Sid": "CodePipelineSourceTrailReadWriteAccess"
        },
        {
          "Action": [
            "iam:PassRole"
          ],
          "Effect": "Allow",
          "Resource": [
            "arn:aws:iam::*:role/service-role/cwe-role-*"
          ],
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": [
                "events.amazonaws.com"
              ]
            }
          },
          "Sid": "EventsIAMPassRole"
        },
        {
          "Action": [
            "iam:PassRole"
          ],
          "Effect": "Allow",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": [
                "codepipeline.amazonaws.com"
              ]
            }
          },
          "Sid": "CodePipelineIAMPassRole"
        },
        {
          "Action": [
            "events:PutRule",
            "events:PutTargets",
            "events:DeleteRule",
            "events:DisableRule",
            "events:RemoveTargets"
          ],
          "Effect": "Allow",
          "Resource": [
            "arn:aws:events:*:*:rule/codepipeline-*"
          ],
          "Sid": "CodePipelineEventsReadWriteAccess"
        },
        {
          "Sid": "CodeStarNotificationsReadWriteAccess",
          "Effect": "Allow",
          "Action": [
            "codestar-notifications:CreateNotificationRule",
            "codestar-notifications:DescribeNotificationRule",
            "codestar-notifications:UpdateNotificationRule",
            "codestar-notifications:DeleteNotificationRule",
            "codestar-notifications:Subscribe",
            "codestar-notifications:Unsubscribe"
          ],
          "Resource": "*",
          "Condition": {
            "StringLike": {
              "codestar-notifications:NotificationsForResource": "arn:aws:codepipeline:*"
            }
          }
        },
        {
          "Sid": "CodeStarNotificationsSNSTopicCreateAccess",
          "Effect": "Allow",
          "Action": [
            "sns:CreateTopic",
            "sns:SetTopicAttributes"
          ],
          "Resource": "arn:aws:sns:*:*:codestar-notifications*"
        },
        {
          "Sid": "CodeStarNotificationsChatbotAccess",
          "Effect": "Allow",
          "Action": [
            "chatbot:DescribeSlackChannelConfigurations",
            "chatbot:ListMicrosoftTeamsChannelConfigurations"
          ],
          "Resource": "*"
        }
      ],
      "Version": "2012-10-17"
    },
    "VersionId": "v3",
    "IsDefaultVersion": true,
    "CreateDate": "2024-03-14T17:06:23+00:00"
  }
}

Version History (6 recorded)

Raw history

AWSCodePipeline_FullAccess - Policy Version v3

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

Mar 12, 2026

4e60b37

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.

Mar 14, 2024

e130d93

Update detected

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

Jun 21, 2023

71b7e1d

Update detected

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

Aug 4, 2020

4f6e893