macOS 15 - Sequoia

The macOS system must configure audit failure notification

Description

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.Satisfies: SRG-OS-000047-GPOS-00023, SRG-OS-000344-GPOS-00135

Check

C-268469r1038966_chk

Verify the macOS system is configured to produce audit failure notification with the following command:/usr/bin/grep -c "logger -s -p" /etc/security/audit_warnIf the result is not "1", this is a finding.

Fix

F-72400r1034346_fix

Configure the macOS system to produce audit failure notification with the following command:/usr/bin/sed -i.bak 's/logger -p/logger -s -p/' /etc/security/audit_warn; /usr/sbin/audit -s