APPL-12-001031 - The macOS system must provide an immediate real-time alert to the System Administrator (SA) and Information System Security Officer (ISSO), at a minimum, of all audit failure events requiring real-time alerts.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The audit service should be configured to immediately print messages to the console or email administrator users when an auditing failure occurs. It is critical for the appropriate personnel to be aware if a system is at risk of failing to process audit logs as required. Without a real-time alert, security personnel may be unaware of an impending failure of the audit capability and system operation may be adversely affected.

Solution

To make 'auditd' log errors to standard error as well as 'syslogd', run the following command:

/usr/bin/sudo /usr/bin/sed -i.bak 's/logger -p/logger -s -p/' /etc/security/audit_warn; /usr/bin/sudo /usr/sbin/audit -s

See Also

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

Item Details

References: CAT|II, CCI|CCI-001858, Rule-ID|SV-252475r853279_rule, STIG-ID|APPL-12-001031, Vuln-ID|V-252475

Plugin: Unix

Control ID: b0d15c2e0910f62c0e902ac75e4ad7e75c6d8a120feee38e5254b07a26433354