AmazonInspector2FullAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:27 PM UTC

Version

v4

Total Versions

3

Created

Apr 25, 2024

Actions

11

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"
              ]
            }
          }
        },
        {
          "Sid": "AllowAccessToOrganizationApis",
          "Effect": "Allow",
          "Action": [
            "organizations:EnableAWSServiceAccess",
            "organizations:RegisterDelegatedAdministrator",
            "organizations:ListDelegatedAdministrators",
            "organizations:ListAWSServiceAccessForOrganization",
            "organizations:DescribeOrganizationalUnit",
            "organizations:DescribeAccount",
            "organizations:DescribeOrganization"
          ],
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v4",
    "IsDefaultVersion": true,
    "CreateDate": "2024-04-25T13:21:03+00:00"
  }
}

Version History (6 recorded)

Raw history

AmazonInspector2FullAccess - Policy Version v4

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

Mar 12, 2026

a9935eb

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 3, 2023

23087c9

Update detected

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

Apr 19, 2023

a54664e

Update detected

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

Nov 29, 2021

d252b95