Skip to content

Commit

Permalink
Merge pull request #176 from subramani95/patch-3
Browse files Browse the repository at this point in the history
Fix printing texts when both Ok and Warn are present in 'check31'
  • Loading branch information
toniblyx authored Feb 14, 2018
2 parents 1580c38 + 6b759db commit 282f758
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prowler
Original file line number Diff line number Diff line change
Expand Up @@ -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#*:}
Expand Down

0 comments on commit 282f758

Please sign in to comment.