Files
macos_security/rules/audit/audit_flags_aa_configure.yaml
2020-06-11 17:47:26 -04:00

37 lines
1.0 KiB
YAML

id: audit_flags_aa_configure
title: 'Add "aa" Flag to audit_control Configuration'
discussion: |
Without generating audit records that are specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. Audit records can be generated from various components within the information system (e.g., module or policy filter).
check: |
/usr/bin/grep -Ec "^flags.*aa" /etc/security/audit_control
result:
integer: 1
fix: |
[source,bash]
----
/usr/bin/sed -i.bak '/^flags/ s/$/,aa/' /etc/security/audit_control; /usr/sbin/audit -s
----
references:
cci:
- N/A
cce:
- CCE-84711-1
800-53r4:
- AU-12(c)
srg:
- SRG-OS-000470-GPOS-00214
- SRG-OS-000472-GPOS-00217
- SRG-OS-000473-GPOS-00218
- SRG-OS-000475-GPOS-00220
disa_stig:
- AOSX-14-001044
macOS:
- "10.15"
tags:
- cnssi-1253
- fisma-low
- fisma-moderate
- fisma-high
- STIG
mobileconfig: false
mobileconfig_info: