APPL-15-001029 - The macOS system must configure audit retention to seven days.

Information

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.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_macOS_15_V1R1_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-4, CAT|III, CCI|CCI-001849, Rule-ID|SV-268467r1034341_rule, STIG-ID|APPL-15-001029, Vuln-ID|V-268467

Plugin: Unix

Control ID: 29544bac97313c97446dbc37066a2541c5b39bb483e928c800c074186f9fd601