UBUNTU24-CIS-Audit/section_6/cis_6.2.2/cis_6.2.2.1.yml

26 lines
527 B
YAML

---
{{ if .Vars.ubtu24cis_level_2 }}
{{ if .Vars.ubtu24cis_rule_6_2_2_1 }}
command:
auditd_max_log_file:
title: 6.2.2.1 | Ensure audit log storage size is configured
exec: grep -E "^max_log_file" /etc/audit/auditd.conf
exit-status: 0
stdout:
- '/max_log_file = [1-9][0-9]{1,2}/'
meta:
server: 2
workstation: 2
CIS_ID:
- 6.2.2.1
CISv8:
- 8.3
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- AU-8
{{ end }}
{{ end }}