File tree 1 file changed +0
-2
lines changed
1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -623,8 +623,6 @@ verify_ecr_image_scan() {
623
623
624
624
tagCount=$( aws ecr list-images --repository-name ${repo_uri} --region ${region} | jq -r ' .imageIds[].imageTag' | grep -c ${tag} || echo " 0" )
625
625
if [ " $tagCount " = ' 1' ]; then
626
- # one-time image scanning is only compatible with "BASIC" scanning type registries
627
- aws ecr put-registry-scanning-configuration --scan-type BASIC --region ${region}
628
626
aws ecr start-image-scan --repository-name ${repo_uri} --image-id imageTag=${tag} --region ${region}
629
627
aws ecr wait image-scan-complete --repository-name ${repo_uri} --region ${region} --image-id imageTag=${tag}
630
628
highVulnerabilityCount=$( aws ecr describe-image-scan-findings --repository-name ${repo_uri} --region ${region} --image-id imageTag=${tag} | jq ' .imageScanFindings.findingSeverityCounts.HIGH' )
You can’t perform that action at this time.
0 commit comments