AWS Fundamentals Logo
AWS Fundamentals
aws inspector2

AWS Amazon Inspector CLI Commands

75 CLI commands available for Amazon Inspector.

CommandSample
associate-member

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or

batch-associate-code-security-scan-configuration

Associates multiple code repositories with an Amazon Inspector code security scan configuration.

batch-disassociate-code-security-scan-configuration

Disassociates multiple code repositories from an Amazon Inspector code security scan configuration.

batch-get-account-status

Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.

batch-get-code-snippet

Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.

batch-get-finding-details

Gets vulnerability details for findings.

batch-get-free-trial-info

Gets free trial status for multiple Amazon Web Services accounts.

batch-get-member-ec2-deep-inspection-status

Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

batch-update-member-ec2-deep-inspection-status

Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

cancel-findings-report

Cancels the given findings report.

cancel-sbom-export

Cancels a software bill of materials (SBOM) report.

create-cis-scan-configuration

Creates a CIS scan configuration.

create-code-security-integration

Creates a code security integration with a source code repository provider. After calling the CreateCodeSecurityIntegration operation, you complete authentication and authorization with your provider. Next you call the UpdateCodeSecurityIntegration operation to provide the details to complete the in

create-code-security-scan-configuration

Creates a scan configuration for code security scanning.

create-filter

Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.

create-findings-report

Creates a finding report. By default only ACTIVE findings are returned in the report. To see SUPRESSED or CLOSED findings you must specify a value for the findingStatus filter criteria.

create-sbom-export

Creates a software bill of materials (SBOM) report.

delete-cis-scan-configuration

Deletes a CIS scan configuration.

delete-code-security-integration

Deletes a code security integration.

delete-code-security-scan-configuration

Deletes a code security scan configuration.

delete-filter

Deletes a filter resource.

describe-organization-configuration

Describe Amazon Inspector configuration settings for an Amazon Web Services organization.

disable

Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.

disable-delegated-admin-account

Disables the Amazon Inspector delegated administrator for your organization.

disassociate-member

Disassociates a member account from an Amazon Inspector delegated administrator.

enable

Enables Amazon Inspector scans for one or more Amazon Web Services accounts.

enable-delegated-admin-account

Enables the Amazon Inspector delegated administrator for your Organizations organization.

get-cis-scan-report

Retrieves a CIS scan report.

get-cis-scan-result-details

Retrieves CIS scan result details.

get-clusters-for-image

Returns a list of clusters and metadata associated with an image.

get-code-security-integration

Retrieves information about a code security integration.

get-code-security-scan

Retrieves information about a specific code security scan.

get-code-security-scan-configuration

Retrieves information about a code security scan configuration.

get-configuration

Retrieves setting configurations for Inspector scans.

get-delegated-admin-account

Retrieves information about the Amazon Inspector delegated administrator for your organization.

get-ec2-deep-inspection-configuration

Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.

get-encryption-key

Gets an encryption key.

get-findings-report-status

Gets the status of a findings report.

get-member

Gets member information for your organization.

get-sbom-export

Gets details of a software bill of materials (SBOM) report.

list-account-permissions

Lists the permissions an account has to configure Amazon Inspector. If the account is a member account or standalone account with resources managed by an Organizations policy, the operation returns fewer permissions.

list-cis-scan-configurations

Lists CIS scan configurations.

list-cis-scan-results-aggregated-by-checks

Lists scan results aggregated by checks.

list-cis-scan-results-aggregated-by-target-resource

Lists scan results aggregated by a target resource.

list-cis-scans

Returns a CIS scan list.

list-code-security-integrations

Lists all code security integrations in your account.

list-code-security-scan-configuration-associations

Lists the associations between code repositories and Amazon Inspector code security scan configurations.

list-code-security-scan-configurations

Lists all code security scan configurations in your account.

list-coverage

Lists coverage details for your environment.

list-coverage-statistics

Lists Amazon Inspector coverage statistics for your environment.

list-delegated-admin-accounts

Lists information about the Amazon Inspector delegated administrator of your organization.

list-filters

Lists the filters associated with your account.

list-finding-aggregations

Lists aggregated finding data for your environment based on specific criteria.

list-findings

Lists findings for your environment.

list-members

List members associated with the Amazon Inspector delegated administrator for your organization.

list-tags-for-resource

Lists all tags attached to a given resource.

list-usage-totals

Lists the Amazon Inspector usage totals over the last 30 days.

reset-encryption-key

Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.

search-vulnerabilities

Lists Amazon Inspector coverage details for a specific vulnerability.

send-cis-session-health

Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.

send-cis-session-telemetry

Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.

start-cis-session

Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.

start-code-security-scan

Initiates a code security scan on a specified repository.

stop-cis-session

Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to stop a CIS scan session for the scan ID supplied by the service.

tag-resource

Adds tags to a resource.

untag-resource

Removes tags from a resource.

update-cis-scan-configuration

Updates a CIS scan configuration.

update-code-security-integration

Updates an existing code security integration. After calling the CreateCodeSecurityIntegration operation, you complete authentication and authorization with your provider. Next you call the UpdateCodeSecurityIntegration operation to provide the details to complete the integration setup

update-code-security-scan-configuration

Updates an existing code security scan configuration.

update-configuration

Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.

update-ec2-deep-inspection-configuration

Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.

update-encryption-key

Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.

update-filter

Specifies the action that is to be applied to the findings that match the filter.

update-org-ec2-deep-inspection-configuration

Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.

update-organization-configuration

Updates the configurations for your Amazon Inspector organization.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Stats

Total Commands75
ServiceInspector2