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

42 lines
957 B
YAML

---
{{ if .Vars.ubtu24cis_level_2 }}
{{ if not .Vars.ubtu24cis_squashfs_required }}
{{ if .Vars.ubtu24cis_rule_1_1_1_7 }}
file:
squashfs_disabled:
title: 1.1.1.7 | Ensure squashfs kernel module is not available | modprobe
path: /etc/modprobe.d/CIS.conf
exists: true
contents:
- '/^install squashfs /bin/(true|false)/'
meta:
server: 2
workstation: 2
CIS_ID: 1.1.1.7
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5: CM-7
squashfs_blacklist:
title: 1.1.1.7 | Ensure squashfs kernel module is not available | blacklist
path: /etc/modprobe.d/blacklist.conf
exists: true
contents:
- '/^blacklist squashfs/'
meta:
server: 2
workstation: 2
CIS_ID: 1.1.1.7
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5: CM-7
{{ end }}
{{ end }}
{{ end }}