aws ec2 get-image-findings
Describes the Amazon Inspector vulnerability findings for the specified AMI. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--image-idThe ID of the AMI.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.