UBUNTU24-CIS-Audit/section_1/cis_1.1/cis_1.1.1.3.yml

40 lines
864 B
YAML

---
{{ if .Vars.ubtu24cis_level_1 }}
{{ if .Vars.ubtu24cis_rule_1_1_1_3 }}
file:
hfs_disabled:
title: 1.1.1.3 | Ensure hfs kernel module is not available | modprobe
path: /etc/modprobe.d/CIS.conf
exists: true
contents:
- '/^install hfs /bin/(true|false)/'
meta:
server: 1
workstation: 1
CIS_ID: 1.1.1.3
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5: CM-7
hfs_blacklist:
title: 1.1.1.3 | Ensure hfs kernel module is not available | blacklist
path: /etc/modprobe.d/blacklist.conf
exists: true
contents:
- '/^blacklist hfs/'
meta:
server: 1
workstation: 1
CIS_ID: 1.1.1.3
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5: CM-7
{{ end }}
{{ end }}