Skip to content

Commit

Permalink
updated blacklist test
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Jan 16, 2023
1 parent 3a477ff commit bfe2bf7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions section_1/cis_1.1/cis_1.1.1.1_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ command:
grep_cramfs_blacklist:
title: 1.1.1.1 | Ensure mounting of cramfs filesystems is disabled | blacklist
exit-status: 0
exec: "grep blacklist cramfs /etc/modprobe.d/blacklist.conf"
exec: "grep 'blacklist cramfs' /etc/modprobe.d/blacklist.conf"
stdout:
- '/^blacklist cramfs/'
meta:
Expand Down Expand Up @@ -51,7 +51,7 @@ command:
grep_squashfs_blacklist:
title: 1.1.1.2 | Ensure mounting of squashfs filesystems is disabled | blacklist
exit-status: 0
exec: "grep blacklist squashfs /etc/modprobe.d/blacklist.conf"
exec: "grep 'blacklist squashfs' /etc/modprobe.d/blacklist.conf"
stdout:
- '/^blacklist squashfs/'
meta:
Expand Down Expand Up @@ -81,9 +81,9 @@ command:
CISv8_IG2: true
CISv8_IG3: true
grep_udf_blacklist:
title: 1.1.1.1 | Ensure mounting of udf filesystems is disabled | blacklist
title: 1.1.1.3 | Ensure mounting of udf filesystems is disabled | blacklist
exit-status: 0
exec: "grep blacklist udf /etc/modprobe.d/blacklist.conf"
exec: "grep 'blacklist' udf /etc/modprobe.d/blacklist.conf"
stdout:
- '/^blacklist udf/'
meta:
Expand Down

0 comments on commit bfe2bf7

Please sign in to comment.