AWSTransformSecurityAgentExecutorAccess

Last Modified

Jul 28, 2026

July 28, 2026 at 04:03 PM UTC

Version

v2

Total Versions

2

Created

Jul 28, 2026

Actions

13

Risk

no risk signal

Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

IAM Access Analyzer (1)

  • Suggestion / REDUNDANT_RESOURCE

    The 2 resource ARN(s) are redundant because they reference the same resource. Review the use of wildcards (*), or remove the resource arn:aws:s3:::atx-security-agent-*/* to remove the redundancy. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "SecurityAgentApi",
          "Effect": "Allow",
          "Action": [
            "securityagent:ListAgentSpaces",
            "securityagent:CreateCodeReview",
            "securityagent:StartCodeReviewJob",
            "securityagent:ListCodeReviewJobsForCodeReview",
            "securityagent:ListFindings",
            "securityagent:BatchGetFindings",
            "securityagent:StartCodeRemediation"
          ],
          "Resource": "arn:aws:securityagent:*:*:agent-space*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "S3SecurityAgentBucketRead",
          "Effect": "Allow",
          "Action": [
            "s3:GetObject",
            "s3:ListBucket"
          ],
          "Resource": [
            "arn:aws:s3:::atx-security-agent-*",
            "arn:aws:s3:::atx-security-agent-*/*"
          ],
          "Condition": {
            "StringEquals": {
              "s3:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "S3SecurityAgentUpload",
          "Effect": "Allow",
          "Action": "s3:PutObject",
          "Resource": "arn:aws:s3:::atx-security-agent-*/security-scans/*",
          "Condition": {
            "StringEquals": {
              "s3:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "IAMPassSecurityAgentRole",
          "Effect": "Allow",
          "Action": "iam:PassRole",
          "Resource": "arn:aws:iam::*:role/security-agent-*",
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": "securityagent.amazonaws.com",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "CFNDiscoverSecurityAgentStack",
          "Effect": "Allow",
          "Action": "cloudformation:ListStacks",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "CFNDescribeSecurityAgentStack",
          "Effect": "Allow",
          "Action": "cloudformation:DescribeStacks",
          "Resource": "arn:aws:cloudformation:*:*:stack/AtxSecurityAgentStack-*/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2026-07-28T15:42:11+00:00"
  }
}

Version History (2 recorded)

Raw history
v2updated

2 actions added

ace91fc
v1new policy

11 actions added

d103ecf
Permissions management: iam:PassRole: iam:PassRole