checks for glue - 7119, 7121, 7123,7124,7125

This commit is contained in:
dlpzx
2020-11-09 19:17:00 +01:00
parent e0a8e0f318
commit ebe2594456
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ CHECK_ALTERNATE_check7124="extra7124"
extra7124(){
textInfo "Looking for ETL Jobs in all regions... "
for regx in $REGIONS; do
LIST_GLUE_SC=$($AWSCLI glue get-jobs $PROFILE_OPT --region $regx --query 'Jobs[*].SecurityConfiguration'--output text)
LIST_GLUE_SC=$($AWSCLI glue get-jobs $PROFILE_OPT --region $regx --query 'Jobs[*].SecurityConfiguration' --output text)
if [[ $LIST_GLUE_SC ]]; then
for sc in $(echo '${LIST_GLUE_SC}'| jq -r '.[] | @base64');do
textInfo "$ENDPOINT_SECURITY"
@@ -45,7 +45,7 @@ extra7124(){
fi
done
else
textInfo "$regx: No ETL Development endpoints found" "$regx"
textInfo "$regx: No ETL Jobs found" "$regx"
fi
done
}

View File

@@ -43,7 +43,7 @@ extra7125(){
fi
done
else
textInfo "$regx: No Security Configuration found" "$regx"
textInfo "$regx: No Private Addresses for endpoints found" "$regx"
fi
done
}