Actions, resources, and condition keys for Amazon Inspector2 - Service Authorization Reference

Actions, resources, and condition keys for Amazon Inspector2

Amazon Inspector2 (service prefix: inspector2) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions defined by Amazon Inspector2

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

The Resource types column indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") in the Resource element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. Required resources are indicated in the table with an asterisk (*). If you specify a resource-level permission ARN in a statement using this action, then it must be of this type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one but not the other.

For details about the columns in the following table, see Actions table.

Actions Description Access level Resource types (*required) Condition keys Dependent actions
AssociateMember Grants permission to associate an account with an Amazon Inspector administrator account Write
BatchGetAccountStatus Grants permission to retrieve information about Amazon Inspector accounts for an account Read
BatchGetFreeTrialInfo Grants permission to retrieve free trial period eligibility about Amazon Inspector accounts for an account Read
CancelFindingsReport Grants permission to cancel the generation of a findings report Write
CreateFilter Grants permission to create and define the settings for a findings filter Write

Filter*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateFindingsReport Grants permission to request the generation of a findings report Write
DeleteFilter Grants permission to delete a findings filter Write

Filter*

DescribeOrganizationConfiguration Grants permission to retrieve information about the Amazon Inspector configuration settings for an AWS organization Read
Disable Grants permission to disable an Amazon Inspector account Write
DisableDelegatedAdminAccount Grants permission to disable an account as the delegated Amazon Inspector administrator account for an AWS organization Write
DisassociateMember Grants permission to an Amazon Inspector administrator account to disassociate from an Inspector member account Write
Enable Grants permission to enable and specify the configuration settings for a new Amazon Inspector account Write
EnableDelegatedAdminAccount Grants permission to enable an account as the delegated Amazon Inspector administrator account for an AWS organization Write
GetDelegatedAdminAccount Grants permission to retrieve information about the Amazon Inspector administrator account for an account Read
GetFindingsReportStatus Grants permission to retrieve status for a requested findings report Read
GetMember Grants permission to retrieve information about an account that's associated with an Amazon Inspector administrator account Read
ListAccountPermissions Grants permission to retrieve feature configuration permissions associated with an Amazon Inspector account within an organization List
ListCoverage Grants permission to retrieve the types of statistics Amazon Inspector can generate for resources Inspector monitors List
ListCoverageStatistics Grants permission to retrieve statistical data and other information about the resources Amazon Inspector monitors List
ListDelegatedAdminAccounts Grants permission to retrieve information about the delegated Amazon Inspector administrator account for an AWS organization List
ListFilters Grants permission to retrieve information about all findings filters List
ListFindingAggregations Grants permission to retrieve statistical data and other information about Amazon Inspector findings List
ListFindings Grants permission to retrieve a subset of information about one or more findings List
ListMembers Grants permission to retrieve information about the Amazon Inspector member accounts that are associated with an Inspector administrator account List
ListTagsForResource Grants permission to retrieve the tags for an Amazon Inspector resource Read
ListUsageTotals Grants permission to retrieve aggregated usage data for an account List
TagResource Grants permission to add or update the tags for an Amazon Inspector resource Tagging

aws:RequestTag/${TagKey}

aws:TagKeys

aws:ResourceTag/${TagKey}

UntagResource Grants permission to remove tags from an Amazon Inspector resource Tagging

aws:TagKeys

UpdateFilter Grants permission to update the settings for a findings filter Write

Filter*

aws:RequestTag/${TagKey}

aws:TagKeys

UpdateOrganizationConfiguration Grants permission to update Amazon Inspector configuration settings for an AWS organization Write

Resource types defined by Amazon Inspector2

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see Resource types table.

Resource types ARN Condition keys
Filter arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/filter/${FilterId}

aws:ResourceTag/${TagKey}

Finding arn:${Partition}:inspector2:${Region}:${Account}:finding/${FindingId}

Condition keys for Amazon Inspector2

Amazon Inspector2 defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see Condition keys table.

To view the global condition keys that are available to all services, see Available global condition keys.

Condition keys Description Type
aws:RequestTag/${TagKey} Filters access by the presence of tag key-value pairs in the request String
aws:ResourceTag/${TagKey} Filters access by tag key-value pairs attached to the resource String
aws:TagKeys Filters access by the presence of tag keys in the request ArrayOfString