26 lines
566 B
YAML
26 lines
566 B
YAML
---
|
|
|
|
{{ if .Vars.ubtu24cis_level_2 }}
|
|
{{ if .Vars.ubtu24cis_rule_6_2_4_1 }}
|
|
command:
|
|
audit_logfile_perms:
|
|
title: 6.2.4.1 | Ensure audit log files mode is configured
|
|
exec: for file in `grep ^log_file /etc/audit/auditd.conf | awk '{ print $NF }'`; do stat -Lc "%n_%a" $file; done
|
|
exit-status: 0
|
|
stdout:
|
|
- '/.*_6(0|4)0$/'
|
|
meta:
|
|
server: 2
|
|
workstation: 2
|
|
CIS_ID:
|
|
- 6.2.4.1
|
|
CISv8:
|
|
- 3.3
|
|
CISv8_IG1: true
|
|
CISv8_IG2: true
|
|
CISv8_IG3: true
|
|
NIST800-53R5:
|
|
- AU-3
|
|
{{ end }}
|
|
{{ end }}
|