audit_settings_failure_notify Configure Audit Failure Notification
NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
All changes in this version
Title
Configure Audit Failure Notification
Control
/usr/bin/grep -c "logger -s -p" /etc/security/audit_warn
Discussion
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.
Related controls
au-5, au-5.2
Fix
[source,bash]
----
/usr/bin/sed -i.bak 's/logger -p/logger -s -p/' /etc/security/audit_warn; /usr/sbin/audit -s
----