Skip to main content
IAM Policy Map

AmazonInspector2FullAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides full access to Amazon Inspector and access to other related services such as organizations.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AmazonInspector2FullAccess
Default version
v4
Created
Last edited
Services
codeguru-security, iam, inspector2, organizations

Control-plane actions (94)

By access level: 22 List, 26 Read, 2 Tagging, 44 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CodeGuru Security2 of 152 Read; 0 restricted, 0 conditionalcodeguru-security:BatchGetFindings, codeguru-security:GetAccountConfiguration
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:CreateServiceLinkedRole
Inspector2All 84 actions (see the Inspector2 page)20 List, 21 Read, 2 Tagging, 41 Write; 0 restricted, 0 conditionalinspector2:*
Organizations7 of 632 List, 3 Read, 2 Write; 0 restricted, 0 conditionalorganizations:DescribeAccount, organizations:DescribeOrganization, organizations:DescribeOrganizationalUnit, organizations:EnableAWSServiceAccess, organizations:ListAWSServiceAccessForOrganization, organizations:ListDelegatedAdministrators, organizations:RegisterDelegatedAdministrator
CodeGuru Security: 2 actions
  • codeguru-security:BatchGetFindings (Read)
  • codeguru-security:GetAccountConfiguration (Read)
IAM: 1 actions
  • iam:CreateServiceLinkedRole (Write)
Organizations: 7 actions
  • organizations:DescribeAccount (Read)
  • organizations:DescribeOrganization (Read)
  • organizations:DescribeOrganizationalUnit (Read)
  • organizations:EnableAWSServiceAccess (Write)
  • organizations:ListAWSServiceAccessForOrganization (List)
  • organizations:ListDelegatedAdministrators (List)
  • organizations:RegisterDelegatedAdministrator (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants at least 80% of the write and permissions-management actions of: inspector2 (41 of 41).

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "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": "*"
    }
  ]
}

Version history

Current version v4, edited by AWS on 2024-04-25. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonInspector2FullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonInspector2FullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonInspector2FullAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AmazonInspector2FullAccess

Terraform

resource "aws_iam_role_policy_attachment" "amazoninspector2fullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonInspector2FullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonInspector2FullAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.