SV-268467r1034341_rule
V-268467
SRG-OS-000341-GPOS-00132
APPL-15-001029
CAT III
10
Configure the macOS system to set audit retention to seven days with the following command:
/usr/bin/sed -i.bak 's/^expire-after.*/expire-after:7d/' /etc/security/audit_control; /usr/sbin/audit -s
Verify the macOS system is configured to set audit retention to seven days with the following command:
/usr/bin/awk -F: '/expire-after/{print $2}' /etc/security/audit_control
If the result is not "7d", this is a finding.
V-268467
False
APPL-15-001029
Verify the macOS system is configured to set audit retention to seven days with the following command:
/usr/bin/awk -F: '/expire-after/{print $2}' /etc/security/audit_control
If the result is not "7d", this is a finding.
M
5661