Simple script to enable for all of our ECR repos
for repo in `aws ecr describe-repositories |jq -r '.repositories[].repositoryName'`; do
aws --profile=sumo ecr put-image-scanning-configuration \
--repository-name $repo \
--image-scanning-configuration scanOnPush=true
done
Dr. Ogg