UBUNTU24-CIS-Audit/section_6/cis_6.1.2.x/cis_6.1.2.4.yml

29 lines
582 B
YAML

---
{{ if .Vars.ubtu24cis_level_1 }}
{{ if .Vars.ubtu24cis_rule_6_1_2_4 }}
command:
storage_journald_conf:
title: 6.1.2.4 | Ensure journald Storage is configured
exec: grep -i Storage= /etc/systemd/journald.conf /etc/systemd/journald.conf.d/*.conf
exit-status:
or:
- 0
- 1
stdout:
- '/.*\:Storage=persistent/'
meta:
server: 1
workstation: 1
CIS_ID:
- 6.1.2.4
CISv8: 8.2
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- AU-3
- AU-12
{{ end }}
{{ end }}