Update check_extra739

typo correction
This commit is contained in:
Morey Straus
2018-12-14 14:32:38 -08:00
committed by GitHub
parent 79e02ce074
commit 8935233a05

View File

@@ -23,9 +23,9 @@ extra739(){
for elb_id in $LIST_OF_ELB; do
CHECK_LOG_STATUS=$($AWSCLI elb describe-load-balancer-attributes --region $regx $PROFILE_OPT --load-balancer-name $elb_id --query LoadBalancerAttributes.AccessLog.Enabled --output text|grep False)
if [[ $CHECK_LOG_STATUS ]]; then
textFail "$regx: ELB $elb_id has login disabled!" "$regx"
textFail "$regx: ELB $elb_id has logging disabled!" "$regx"
else
textPass "$regx: ELB $elb_id has login enabled" "$regx"
textPass "$regx: ELB $elb_id has logging enabled" "$regx"
fi
done
else