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

@@ -6,7 +6,6 @@ CHECK_ALTERNATE_extra722="extra722"
extra722(){
# "Check if API Gateway has logging enabled (Not Scored) (Not part of CIS benchmark)"
textTitle "$ID722" "$TITLE722" "NOT_SCORED" "EXTRA"
for regx in $REGIONS; do
LIST_OF_API_GW=$($AWSCLI apigateway get-rest-apis $PROFILE_OPT --region $regx --query items[*].id --output text)
if [[ $LIST_OF_API_GW ]];then