STIGUI
V-277074CAT III — Low severitySV-277074r1148674_rule

The macOS system must configure audit retention to seven days.

Rule version APPL-26-001029 · STIG v1 · 2026-09-01

Discussion

The audit service must be configured to require that records be kept for an organizational-defined value before deletion unless the system uses a central audit record storage facility.

When "expire-after" is set to "7d", the audit service will not delete audit logs until the log data criteria is met.

Check

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.

Fix

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

Identifiers

Group ID
V-277074
Group title
SRG-OS-000341-GPOS-00132
Rule ID
SV-277074r1148674_rule
Check ID
C-81229r1148672_chk
Fix ID
F-81134r1148673_fix