fixed typo in extra74

This commit is contained in:
Toni de la Fuente
2018-04-23 15:48:55 -04:00
parent 2afbda53b2
commit 94893b8c4e

View File

@@ -25,9 +25,9 @@ extra74(){
for SG_ID in $LIST_OF_SECURITYGROUPS; do
SG_NO_INGRESS_FILTER=$($AWSCLI ec2 describe-network-interfaces $PROFILE_OPT --region $regx --filters "Name=group-id,Values=$SG_ID" --query "length(NetworkInterfaces)" --output text)
if [[ $SG_NO_INGRESS_FILTER -ne 0 ]];then
textFail "$regx: $SG_ID has not ingress filtering and it is being used!" "$regx"
textFail "$regx: $SG_ID has no ingress filtering and it is being used!" "$regx"
else
textInfo "$regx: $SG_ID has not ingress filtering but it is no being used" "$regx"
textInfo "$regx: $SG_ID has no ingress filtering but it is no being used" "$regx"
fi
done
done