Skip to content

Commit

Permalink
fixed typo thanks to #34 @Rafouf69
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Nov 4, 2024
1 parent d5f6432 commit bc149b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion section_1/cis_1.6/cis_1.6.1.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
command:
apparmor_enf_or_comp:
title: 1.6.1.3 | Ensure all AppArmor Profiles are in enforce or complain mode | profile
exec: LOADED=`apparmor_status | grep 'profiles are loaded' | awk '{print $1}'` && ENFORCE=`apparmor_status | grep 'profiles are in enforce mode.' | awk '{print $1}'` && COMPLAIN=`apparmor_status | grep 'profiles are in complain mode.' | awk '{print $1}'` && if [ $((LOADED + COMPLAIN)) != "$ENFORCE" ]; then echo "Profiles Error";fi
exec: LOADED=`apparmor_status | grep 'profiles are loaded' | awk '{print $1}'` && ENFORCE=`apparmor_status | grep 'profiles are in enforce mode.' | awk '{print $1}'` && COMPLAIN=`apparmor_status | grep 'profiles are in complain mode.' | awk '{print $1}'` && if [ $((ENFORCE + COMPLAIN)) != "$LOADED " ]; then echo "Profiles Error";fi
exit-status: 0
stdout:
- '!/Profiles Error/'
Expand Down

0 comments on commit bc149b7

Please sign in to comment.