Monterey - 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-90876-4, CCI|CCI-001858

Plugin: Unix

Control ID: a3b3346868c8ed908e8f486bcb75ff93015a0634af7fe507c5e37ff2192d9869