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

47 lines
910 B
YAML

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