Merge pull request #176 from subramani95/patch-3

Fix printing texts when both Ok and Warn are present in 'check31'
This commit is contained in:
Toni de la Fuente
2018-02-13 21:35:08 -05:00
committed by GitHub

View File

@@ -1192,7 +1192,8 @@ check31(){
group=${group%:*}
textOK "CloudWatch group $group found with metric filter $metric and alarms set for Unauthorized Operation and Access Denied"
done
else
fi
if [[ $CHECK31WARN ]]; then
for group in $CHECK31WARN; do
case $group in
*:*) metric=${group#*:}