UBUNTU24-CIS-Audit/section_3/cis_3.2/cis_3.2.1.yml

46 lines
895 B
YAML

---
{{ if .Vars.ubtu24cis_level_2 }}
{{ if .Vars.ubtu24cis_rule_3_2_1 }}
command:
modprobe_dccp:
title: 3.2.1 | Ensure dccp kernel module is not available | DCCP config
exit-status: 0
exec: 'modprobe -n -v dccp'
stdout:
- '/install /bin/(true|false)/'
meta:
server: 2
workstation: 2
CIS_ID:
- 3.2.1
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- CM-7
- SI-4
lsmod_dccp:
title: 3.2.1 | Ensure dccp kernel module is not available | running dccp
exit-status: 1
exec: lsmod | grep -i dccp
stdout:
- '!/^.*/'
meta:
server: 2
workstation: 2
CIS_ID:
- 3.2.1
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- CM-7
- SI-4
{{ end }}
{{ end }}