mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
id: audit_settings_failure_notify
|
|
title: "Configure Audit Failure Notification"
|
|
discussion: |
|
|
The audit service should 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 aware 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 an impending failure of the audit capability and system operation may be adversely affected.
|
|
|
|
If the argument "-s" is missing, or if "audit_warn" has not been otherwise modified to print errors to the console or send email alerts to the SA and ISSO, this is a finding.
|
|
check: |
|
|
/usr/bin/grep -c "logger -s -p" /etc/security/audit_warn
|
|
result:
|
|
integer: 1
|
|
fix: |
|
|
[source,bash]
|
|
----
|
|
/usr/bin/sed -i.bak 's/logger -p/logger -s -p/' /etc/security/audit_warn; /usr/sbin/audit -s
|
|
----
|
|
references:
|
|
cce:
|
|
- CCE-84720-2
|
|
cci:
|
|
- CCI-001858
|
|
800-53r4:
|
|
- AU-5(2)
|
|
srg:
|
|
- SRG-OS-000344-GPOS-00135
|
|
disa_stig:
|
|
- AOSX-14-001031
|
|
macOS:
|
|
- "10.15"
|
|
tags:
|
|
- fisma-high
|
|
- STIG
|
|
mobileconfig: |