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_check716="extra716"
extra716(){
# "Check if Elasticsearch Service domains allow open access (Not Scored) (Not part of CIS benchmark)"
textTitle "$ID716" "$TITLE716" "NOT_SCORED" "EXTRA"
for regx in $REGIONS; do
LIST_OF_DOMAINS=$($AWSCLI es list-domain-names $PROFILE_OPT --region $regx --query DomainNames --output text)
if [[ $LIST_OF_DOMAINS ]]; then