added support of -g groups

This commit is contained in:
Toni de la Fuente
2018-03-26 21:32:15 -04:00
parent 7866d42df9
commit 6647702d90
78 changed files with 41 additions and 100 deletions

View File

@@ -7,7 +7,6 @@ CHECK_ALTERNATE_check707="extra77"
extra77(){
# "Ensure there are no ECR repositories set as Public (Not Scored) (Not part of CIS benchmark)"
textTitle "$ID77" "$TITLE77" "NOT_SCORED" "EXTRA"
textNotice "Looking for ECR repos in all regions... "
for regx in $REGIONS; do
LIST_OF_ECR_REPOS=$($AWSCLI ecr describe-repositories $PROFILE_OPT --region $regx --query 'repositories[*].{Name:repositoryName}' --output text)