The macOS system must configure audit failure notification.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-259469 | SRG-OS-000047-GPOS-00023 | APPL-14-001031 | SV-259469r1038966_rule | 2024-12-04 | 2 |
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
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_warn
If the result is not "1", this is a finding.
✔️ 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