UBUNTU24-CIS-Audit/section_6/cis_6.2.3/cis_6.2.3.20.yml

30 lines
562 B
YAML

---
{{ if .Vars.ubtu24cis_level_2 }}
{{ if .Vars.ubtu24cis_rule_6_2_3_20 }}
command:
auditd_immutable:
title: 6.2.3.20 | Ensure the audit configuration is immutable
exec: 'grep "-e 2" /etc/audit/rules.d/*.rules | cut -d ":" -f2'
exit-status: 0
stdout:
- '-e 2'
meta:
server: 2
workstation: 2
CIS_ID:
- 6.2.3.20
CISv8:
- 3.3
- 8.5
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- AC-3
- AU-3
- AU-12
- MP-2
{{ end }}
{{ end }}