Skip to content

Commit

Permalink
add 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 c1bb992 commit 446208f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions section_1/cis_1.1/cis_1.1.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,19 @@ command:
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
usb-storage_blacklist:
title: 3.1.2 | Ensure USB Storage is disabled | blacklist
exit-status: 0
exec: 'grep usb-storage /etc/modprobe.d/blacklist.conf'
stdout: ['/^blacklist usb-storage/']
meta:
server: 1
workstation: 2
CIS_ID: 1.1.10
CISv8:
- 10.3
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
{{ end }}
{{ end }}
14 changes: 14 additions & 0 deletions section_3/cis_3.1/cis_3.1.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,19 @@ command:
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
blacklist_sctp:
title: 3.1.2 | Ensure SCTP is disabled | blacklist
exit-status: 0
exec: 'grep sctp /etc/modprobe.d/blacklist.conf'
stdout: ['/^blacklist sctp/']
meta:
server: 2
workstation: 2
CIS_ID:
- 3.1.2
CISv8: 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
{{ end }}
{{ end }}
14 changes: 14 additions & 0 deletions section_3/cis_3.1/cis_3.1.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,19 @@ command:
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
blacklist_dccp:
title: 3.1.2 | Ensure SCTP is disabled | blacklist
exit-status: 0
exec: 'grep dccp /etc/modprobe.d/blacklist.conf'
stdout: ['/^blacklist dccp/']
meta:
server: 2
workstation: 2
CIS_ID:
- 3.1.3
CISv8: 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
{{ end }}
{{ end }}

0 comments on commit 446208f

Please sign in to comment.