Big Sur - Configure Audit Failure Notification

Information

The audit service _MUST_ 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 made aware immediately 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 a potentially harmful failure in the auditing system's capability, and system operation may be adversely affected.

Solution

[source,bash]
----
/usr/bin/sed -i.bak 's/logger -p/logger -s -p/' /etc/security/audit_warn; /usr/sbin/audit -s
----

See Also

https://github.com/usnistgov/macos_security

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-5, 800-53|AU-5(2), CCE|CCE-85273-1, CCI|CCI-001858, STIG-ID|APPL-11-001031

Plugin: Unix

Control ID: 29053aa8d3738c14c6aa2d3dc69142bcaf81a8584868bd0b4aee0c4076eb8fbb