Actions, resources, and condition keys for Amazon Inspector2
Amazon Inspector2 (service prefix: inspector2) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon Inspector2
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AssociateMember |
Write |
|||
|
BatchAssociateCodeSecurityScanConfiguration |
Write |
|||
|
BatchDisassociateCodeSecurityScanConfiguration |
Write |
|||
|
BatchGetAccountStatus |
Read |
|||
|
BatchGetCodeSnippet |
Read |
|||
|
BatchGetFindingDetails |
Read |
|||
|
BatchGetFreeTrialInfo |
Read |
|||
|
BatchGetMemberEc2DeepInspectionStatus |
Read |
|||
|
BatchUpdateMemberEc2DeepInspectionStatus |
Write |
|||
|
CancelFindingsReport |
Write |
|||
|
CancelSbomExport |
Write |
|||
|
CreateCisScanConfiguration |
Write |
|||
Tagging, Write |
||||
|
CreateCodeSecurityIntegration |
Write |
|||
Tagging, Write |
||||
|
CreateCodeSecurityScanConfiguration |
Write |
|||
Tagging, Write |
||||
|
CreateConnector |
Write |
|||
Tagging, Write |
||||
|
CreateFilter |
Write |
|||
Tagging, Write |
||||
|
CreateFindingsReport |
Write |
|||
|
CreateSbomExport |
Write |
|||
|
DeleteCisScanConfiguration |
Write |
|||
|
DeleteCodeSecurityIntegration |
Write |
|||
|
DeleteCodeSecurityScanConfiguration |
Write |
|||
|
DeleteConnector |
Write |
|||
|
DeleteFilter |
Write |
|||
|
DescribeOrganizationConfiguration |
Read |
|||
|
Disable |
Write |
|||
|
DisableDelegatedAdminAccount |
Write |
|||
|
DisassociateMember |
Write |
|||
|
Enable |
Write |
|||
|
EnableDelegatedAdminAccount |
Write |
|||
|
GetCisScanReport |
Read |
|||
|
GetCisScanResultDetails |
List |
|||
|
GetClustersForImage |
Read |
|||
|
GetCodeSecurityIntegration |
Read |
|||
|
GetCodeSecurityScan |
Read |
|||
|
GetCodeSecurityScanConfiguration |
Read |
|||
|
GetConfiguration |
Read |
|||
|
GetDelegatedAdminAccount |
Read |
|||
|
GetEc2DeepInspectionConfiguration |
Read |
|||
|
GetEncryptionKey |
Read |
|||
|
GetFindingsReportStatus |
Read |
|||
|
GetMember |
Read |
|||
|
GetSbomExport |
Read |
|||
|
ListAccountPermissions |
List |
|||
|
ListCisScanConfigurations |
List |
|||
|
ListCisScanResultsAggregatedByChecks |
List |
|||
|
ListCisScanResultsAggregatedByTargetResource |
List |
|||
|
ListCisScans |
List |
|||
|
ListCodeSecurityIntegrations |
List |
|||
|
ListCodeSecurityScanConfigurationAssociations |
List |
|||
|
ListCodeSecurityScanConfigurations |
List |
|||
|
ListConnectorScanConfigurations |
List |
|||
|
ListConnectors |
List |
|||
|
ListCoverage |
List |
|||
|
ListCoverageStatistics |
List |
|||
|
ListDelegatedAdminAccounts |
List |
|||
|
ListFilters |
List |
|||
|
ListFindingAggregations |
List |
|||
|
ListFindings |
List |
|||
|
ListMembers |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListUsageTotals |
List |
|||
|
ResetEncryptionKey |
Write |
|||
|
SearchVulnerabilities |
Read |
|||
|
SendCisSessionHealth |
Write |
|||
|
SendCisSessionTelemetry |
Write |
|||
|
StartCisSession |
Write |
|||
|
StartCodeSecurityScan |
Write |
|||
|
StopCisSession |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateCisScanConfiguration |
Write |
|||
|
UpdateCodeSecurityIntegration |
Write |
|||
|
UpdateCodeSecurityScanConfiguration |
Write |
|||
|
UpdateConfiguration |
Write |
|||
|
UpdateConnector |
Write |
|||
|
UpdateConnectorScanConfiguration |
Write |
|||
|
UpdateEc2DeepInspectionConfiguration |
Write |
|||
|
UpdateEncryptionKey |
Write |
|||
|
UpdateFilter |
Write |
|||
|
UpdateOrgEc2DeepInspectionConfiguration |
Write |
|||
|
UpdateOrganizationConfiguration |
Write |
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 Amazon. 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.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to associate an account with an Amazon Inspector administrator account |
Write |
|||
Grants permission to associate multiple code repositories with an Amazon Inspector code security scan configuration |
Write |
|||
Grants permission to disassociate multiple code repositories from an Amazon Inspector code security scan configuration |
Write |
|||
Grants permission to retrieve information about Amazon Inspector accounts for an account |
Read |
|||
Grants permission to retrieve code snippet information about one or more code vulnerability findings |
Read |
|||
Grants permission to let a customer get enhanced vulnerability intelligence details for findings |
Read |
|||
Grants permission to retrieve free trial period eligibility about Amazon Inspector accounts for an account |
Read |
|||
Grants permission to delegated administrator to retrieve ec2 deep inspection status of member accounts |
Read |
|||
Grants permission to update ec2 deep inspection status by delegated administrator for its associated member accounts |
Write |
|||
Grants permission to cancel the generation of a findings report |
Write |
|||
Grants permission to cancel the generation of an SBOM report |
Write |
|||
Grants permission to create and define the settings for a CIS scan configuration |
Write |
|||
Grants permission to create a code security integration with a source code repository provider |
Write |
|||
Grants permission to create a scan configuration for code security scanning |
Write |
|||
Grants permission to create a connector to scan resources from a third-party cloud provider |
Write |
|||
Grants permission to create and define the settings for a findings filter |
Write |
|||
Grants permission to request the generation of a findings report |
Write |
|||
Grants permission to request the generation of an SBOM report |
Write |
|||
Grants permission to delete a CIS scan configuration |
Write |
|||
Grants permission to delete a code security integration |
Write |
|||
Grants permission to delete a code security scan configuration |
Write |
|||
Grants permission to delete a connector configured for scanning resources from a third-party cloud provider |
Write |
|||
Grants permission to delete a findings filter |
Write |
|||
Grants permission to retrieve information about the Amazon Inspector configuration settings for an Amazon organization |
Read |
|||
Grants permission to disable an Amazon Inspector account |
Write |
|||
Grants permission to disable an account as the delegated Amazon Inspector administrator account for an Amazon organization |
Write |
|||
Grants permission to an Amazon Inspector administrator account to disassociate from an Inspector member account |
Write |
|||
Grants permission to enable and specify the configuration settings for a new Amazon Inspector account |
Write |
|||
Grants permission to enable an account as the delegated Amazon Inspector administrator account for an Amazon organization |
Write |
|||
Grants permission to retrieve a report containing information about completed CIS scans |
Read |
|||
Grants permission to retrieve information about all details pertaining to one CIS scan and one targeted resource |
List |
|||
Grants permission to get cluster information for a given a continuously scanned amazon Ecr image |
Read |
|||
Grants permission to retrieve information about a code security integration |
Read |
|||
Grants permission to retrieve information about a specific code security scan |
Read |
|||
Grants permission to retrieve information about a code security scan configuration |
Read |
|||
Grants permission to retrieve information about the Amazon Inspector configuration settings for an Amazon Web Services account |
Read |
|||
Grants permission to retrieve information about the Amazon Inspector administrator account for an account |
Read |
|||
Grants permission to retrieve ec2 deep inspection configuration for standalone accounts, delegated administrator and member account |
Read |
|||
Grants permission to retrieve information about the KMS key used to encrypt code snippets with |
Read |
|||
Grants permission to retrieve status for a requested findings report |
Read |
|||
Grants permission to retrieve information about an account that's associated with an Amazon Inspector administrator account |
Read |
|||
Grants permission to retrieve a requested SBOM report |
Read |
|||
Grants permission to retrieve feature configuration permissions associated with an Amazon Inspector account within an organization |
List |
|||
Grants permission to retrieve information about all CIS scan configurations |
List |
|||
Grants permission to retrieve information about all checks pertaining to one CIS scan |
List |
|||
Grants permission to retrieve information about all resources pertaining to one CIS scan |
List |
|||
Grants permission to retrieve information about completed CIS scans |
List |
|||
Grants permission to list all code security integrations in your account |
List |
|||
Grants permission to list the associations between code repositories and Amazon Inspector code security scan configurations |
List |
|||
Grants permission to list all code security scan configurations in your account |
List |
|||
Grants permission to list scan configurations for connectors |
List |
|||
Grants permission to list connectors configured for scanning resources from third-party cloud providers |
List |
|||
Grants permission to retrieve the types of statistics Amazon Inspector can generate for resources Inspector monitors |
List |
|||
Grants permission to retrieve statistical data and other information about the resources Amazon Inspector monitors |
List |
|||
Grants permission to retrieve information about the delegated Amazon Inspector administrator account for an Amazon organization |
List |
|||
Grants permission to retrieve information about all findings filters |
List |
|||
Grants permission to retrieve statistical data and other information about Amazon Inspector findings |
List |
|||
Grants permission to retrieve a subset of information about one or more findings |
List |
|||
Grants permission to retrieve information about the Amazon Inspector member accounts that are associated with an Inspector administrator account |
List |
|||
Grants permission to retrieve the tags for an Amazon Inspector resource |
Read |
|||
Grants permission to retrieve aggregated usage data for an account |
List |
|||
Grants permission to let a customer reset to use an Amazon-owned KMS key to encrypt code snippets with |
Write |
|||
Grants permission to list Amazon Inspector coverage details for a specific vulnerability |
Read |
|||
Grants permission to send CIS health for a CIS scan |
Write |
|||
Grants permission to send CIS telemetry for a CIS scan |
Write |
|||
Grants permission to start a CIS scan session |
Write |
|||
Grants permission to initiate a code security scan on a specified repository |
Write |
|||
Grants permission to stop a CIS scan session |
Write |
|||
Grants permission to add or update the tags for an Amazon Inspector resource |
Tagging, Write |
|||
Grants permission to remove tags from an Amazon Inspector resource |
Tagging, Write |
|||
Grants permission to update the settings for a CIS scan configuration |
Write |
|||
Grants permission to update an existing code security integration |
Write |
|||
Grants permission to update an existing code security scan configuration |
Write |
|||
Grants permission to update information about the Amazon Inspector configuration settings for an Amazon Web Services account |
Write |
|||
Grants permission to update a connector configured for scanning resources from a third-party cloud provider |
Write |
|||
Grants permission to update scan configuration settings for resources associated with a connector |
Write |
|||
Grants permission to update ec2 deep inspection configuration by delegated administrator, member and standalone account |
Write |
|||
Grants permission to let a customer use a KMS key to encrypt code snippets with |
Write |
|||
Grants permission to update the settings for a findings filter |
Write |
|||
Grants permission to update ec2 deep inspection configuration by delegated administrator for its associated member accounts |
Write |
|||
Grants permission to update Amazon Inspector configuration settings for an Amazon 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.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/cis-configuration/${CISScanConfigurationId} |
||
arn:${Partition}:inspector2:${Region}:${Account}:codesecurity-integration/${CodeSecurityIntegrationId} |
||
arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/codesecurity-configuration/${CodeSecurityScanConfigurationId} |
||
arn:${Partition}:inspector2:${Region}:${Account}:connector/${ConnectorId} |
||
arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/filter/${FilterId} |
||
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.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |