aws ecr start-image-scan
Starts a basic image vulnerability scan. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--image-idAn object with identifying information for an image in an Amazon ECR repository.--registry-idThe Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request.--repository-nameThe name of the repository that contains the images to scan.