aws inspector
Amazon Inspector Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see Amazon Inspector User Guide
Subcommands
Name | Description |
---|---|
add-attributes-to-findings | Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings |
create-assessment-target | Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets |
create-assessment-template | Creates an assessment template for the assessment target that is specified by the ARN of the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments |
create-exclusions-preview | Starts the generation of an exclusions preview for the specified assessment template. The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment |
create-resource-group | Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget |
delete-assessment-run | Deletes the assessment run that is specified by the ARN of the assessment run |
delete-assessment-target | Deletes the assessment target that is specified by the ARN of the assessment target |
delete-assessment-template | Deletes the assessment template that is specified by the ARN of the assessment template |
describe-assessment-runs | Describes the assessment runs that are specified by the ARNs of the assessment runs |
describe-assessment-targets | Describes the assessment targets that are specified by the ARNs of the assessment targets |
describe-assessment-templates | Describes the assessment templates that are specified by the ARNs of the assessment templates |
describe-cross-account-access-role | Describes the IAM role that enables Amazon Inspector to access your AWS account |
describe-exclusions | Describes the exclusions that are specified by the exclusions' ARNs |
describe-findings | Describes the findings that are specified by the ARNs of the findings |
describe-resource-groups | Describes the resource groups that are specified by the ARNs of the resource groups |
describe-rules-packages | Describes the rules packages that are specified by the ARNs of the rules packages |
get-assessment-report | Produces an assessment report that includes detailed and comprehensive results of a specified assessment run |
get-exclusions-preview | Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token. You can obtain the preview token by running the CreateExclusionsPreview API |
get-telemetry-metadata | Information about the data that is collected for the specified assessment run |
list-assessment-run-agents | Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs |
list-assessment-runs | Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates |
list-assessment-targets | Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets |
list-assessment-templates | Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets |
list-event-subscriptions | Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent |
list-exclusions | List exclusions that are generated by the assessment run |
list-findings | Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs |
list-rules-packages | Lists all available Amazon Inspector rules packages |
list-tags-for-resource | Lists all tags associated with an assessment template |
preview-agents | Previews the agents installed on the EC2 instances that are part of the specified assessment target |
register-cross-account-access-role | Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments |
remove-attributes-from-findings | Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists |
set-tags-for-resource | Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template |
start-assessment-run | Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account |
stop-assessment-run | Stops the assessment run that is specified by the ARN of the assessment run |
subscribe-to-event | Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic |
unsubscribe-from-event | Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic |
update-assessment-target | Updates the assessment target that is specified by the ARN of the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target |