AmazonInspector2FullAccess_v2

Last Modified

Jul 8, 2026

July 8, 2026 at 08:04 PM UTC

Version

v9

Total Versions

5

Created

Jul 8, 2026

Actions

18

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 disable Inspector, which is how an intruder hides.

    inspector2:Disable (via inspector2:*)

    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 inspector2 access on every resource

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

    inspector2:*

    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": "AllowFullAccessToInspectorApis",
          "Effect": "Allow",
          "Action": "inspector2:*",
          "Resource": "*"
        },
        {
          "Sid": "AllowAccessToCodeGuruApis",
          "Effect": "Allow",
          "Action": [
            "codeguru-security:BatchGetFindings",
            "codeguru-security:GetAccountConfiguration"
          ],
          "Resource": "*"
        },
        {
          "Sid": "AllowAccessToCreateSlr",
          "Effect": "Allow",
          "Action": "iam:CreateServiceLinkedRole",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": [
                "agentless.inspector2.amazonaws.com",
                "inspector2.amazonaws.com",
                "thirdparty.inspector2.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "AllowServicePrincipalBasedAccessToOrganizationApis",
          "Effect": "Allow",
          "Action": [
            "organizations:EnableAWSServiceAccess",
            "organizations:RegisterDelegatedAdministrator",
            "organizations:ListDelegatedAdministrators"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "organizations:ServicePrincipal": [
                "inspector2.amazonaws.com",
                "agentless.inspector2.amazonaws.com",
                "thirdparty.inspector2.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "AllowOrganizationalBasedAccessToOrganizationApis",
          "Effect": "Allow",
          "Action": [
            "organizations:DescribeOrganizationalUnit"
          ],
          "Resource": "arn:aws:organizations::*:ou/o-*/ou-*"
        },
        {
          "Sid": "AllowAccountsBasedAccessToOrganizationApis",
          "Effect": "Allow",
          "Action": [
            "organizations:DescribeAccount"
          ],
          "Resource": "arn:aws:organizations::*:account/o-*/*"
        },
        {
          "Sid": "AllowAccessToOrganizationApis",
          "Effect": "Allow",
          "Action": [
            "organizations:ListAWSServiceAccessForOrganization",
            "organizations:DescribeOrganization"
          ],
          "Resource": "*"
        },
        {
          "Sid": "AllowListPoliciesForInspectorPolicyType",
          "Effect": "Allow",
          "Action": "organizations:ListPolicies",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "organizations:PolicyType": [
                "INSPECTOR_POLICY"
              ]
            }
          }
        },
        {
          "Sid": "AllowDescribeResourcePolicyForDelegation",
          "Effect": "Allow",
          "Action": "organizations:DescribeResourcePolicy",
          "Resource": "*"
        },
        {
          "Sid": "AllowDescribeEffectivePolicyForInspector",
          "Effect": "Allow",
          "Action": "organizations:DescribeEffectivePolicy",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "organizations:PolicyType": [
                "INSPECTOR_POLICY"
              ]
            }
          }
        },
        {
          "Sid": "AllowConfigConnectorWriteAndList",
          "Effect": "Allow",
          "Action": [
            "config:PutConnector",
            "config:ListConnectors"
          ],
          "Resource": "*"
        },
        {
          "Sid": "AllowConfigConnectorRead",
          "Effect": "Allow",
          "Action": "config:GetConnector",
          "Resource": "arn:aws:config:*:*:connector/*"
        },
        {
          "Sid": "AllowCreateConfigThirdPartySLR",
          "Effect": "Allow",
          "Action": "iam:CreateServiceLinkedRole",
          "Resource": "arn:aws:iam::*:role/aws-service-role/thirdparty.config.amazonaws.com/AWSServiceRoleForConfigThirdParty",
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": "thirdparty.config.amazonaws.com"
            }
          }
        }
      ]
    },
    "VersionId": "v9",
    "IsDefaultVersion": true,
    "CreateDate": "2026-07-08T19:12:18+00:00"
  }
}

Version History (8 recorded)

Raw history
v9updated

3 actions added

a1c37cd
1 never-before-seen action: config:PutConnector
v8updated

scope changed, no action added or removed

db26bef
v7updated

scope changed, no action added or removed

59b20de

AmazonInspector2FullAccess_v2 - Policy Version v6

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

Mar 12, 2026

4686abe

AmazonInspector2FullAccess_v2 - Policy Version v6

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

Feb 12, 2026

f39be50

AmazonInspector2FullAccess_v2 - Policy Version v4

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

Feb 12, 2026

48f9ce2

AmazonInspector2FullAccess_v2 - Policy Version v2

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

Nov 17, 2025

9bcecbf

Update detected

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

Jul 3, 2025

89e039c