AmazonInspector2FullAccess_v2
Summary
Provides full access to Amazon Inspector and access to other related services such as organizations with restrictive organizational access.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonInspector2FullAccess_v2- Default version
- v11
- Created
- Last edited
- Services
- codeguru-security, config, iam, inspector2, organizations
Control-plane actions (100)
By access level: 24 List, 29 Read, 2 Tagging, 45 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CodeGuru Security | 2 of 15 | 2 Read; 0 restricted, 0 conditional | codeguru-security:BatchGetFindings, codeguru-security:GetAccountConfiguration |
| Config | 3 of 102 | 1 List, 1 Read, 1 Write; 1 restricted, 0 conditional | config:GetConnector, config:ListConnectors, config:PutConnector |
| IAM | 1 of 190 | 1 Write; 1 restricted, 1 conditional | iam:CreateServiceLinkedRole |
| Inspector2 | All 84 actions (see the Inspector2 page) | 20 List, 21 Read, 2 Tagging, 41 Write; 0 restricted, 0 conditional | inspector2:* |
| Organizations | 10 of 63 | 3 List, 5 Read, 2 Write; 7 restricted, 5 conditional | organizations:DescribeAccount, organizations:DescribeEffectivePolicy, organizations:DescribeOrganization, organizations:DescribeOrganizationalUnit, organizations:DescribeResourcePolicy, organizations:EnableAWSServiceAccess, organizations:ListAWSServiceAccessForOrganization, organizations:ListDelegatedAdministrators, organizations:ListPolicies, organizations:RegisterDelegatedAdministrator |
CodeGuru Security: 2 actions
- codeguru-security:BatchGetFindings (Read)
- codeguru-security:GetAccountConfiguration (Read)
Config: 3 actions
- config:GetConnector (Read)
- config:ListConnectors (List)
- config:PutConnector (Write)
IAM: 1 actions
- iam:CreateServiceLinkedRole (Write)
Organizations: 10 actions
- organizations:DescribeAccount (Read)
- organizations:DescribeEffectivePolicy (Read)
- organizations:DescribeOrganization (Read)
- organizations:DescribeOrganizationalUnit (Read)
- organizations:DescribeResourcePolicy (Read)
- organizations:EnableAWSServiceAccess (Write)
- organizations:ListAWSServiceAccessForOrganization (List)
- organizations:ListDelegatedAdministrators (List)
- organizations:ListPolicies (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: mixed.
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.
Related policies
Same service
- AccessAnalyzerServiceRolePolicy
- AccountAccessManagerServiceRolePolicy
- AIDevOpsOrganizationsAccessPolicy
- AmazonDetectiveOrganizationsAccess
- AmazonDetectiveServiceLinkedRolePolicy
- AmazonDevOpsGuruOrganizationsAccess
- AmazonEKSDashboardConsoleReadOnly
- AmazonEKSDashboardServiceRolePolicy
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
{
"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",
"ami.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",
"ami.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"
}
}
}
]
}
Version history
Current version v11, edited by AWS on 2026-11-05. 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_v2
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonInspector2FullAccess_v2
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonInspector2FullAccess_v2CloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonInspector2FullAccess_v2Terraform
resource "aws_iam_role_policy_attachment" "amazoninspector2fullaccess_v2" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonInspector2FullAccess_v2"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonInspector2FullAccess_v2"),
);Sources
Pending editorial review. No editorial sources are listed yet.