Check: AZLX-23-002045
Amazon Linux 2023 STIG:
AZLX-23-002045
(in version v1 r1)
Title
Amazon Linux 2023 must take action when allocated audit record storage volume reaches 95 percent of the audit record storage capacity. (Cat II impact)
Discussion
If action is not taken when storage volume reaches 95 percent utilization, the auditing system may fail when the storage volume reaches capacity.
Check Content
Verify Amazon Linux 2023 takes action when allocated audit record storage volume reaches 95 percent of the repository maximum audit record storage capacity with the following command: $ sudo grep -w admin_space_left /etc/audit/auditd.conf admin_space_left = 5% If the value of the "admin_space_left" keyword is not set to 5 percent of the storage volume allocated to audit logs, or if the line is commented out, ask the system administrator (SA) to indicate how the system is taking action if the allocated storage is about to reach capacity. If the "space_left" value is not configured to the correct value, this is a finding.
Fix Text
Configure Amazon Linux 2023 to initiate an action when allocated audit record storage volume reaches 95 percent of the repository maximum audit record storage capacity by adding/modifying the following line in the /etc/audit/auditd.conf file. admin_space_left = 5%
Additional Identifiers
Rule ID: SV-274073r1120207_rule
Vulnerability ID: V-274073
Group Title: SRG-OS-000343-GPOS-00134
Expert Comments
CCIs
| Number | Definition |
|---|---|
| CCI-001855 |
Provide a warning to organization-defined personnel, roles, and/or locations within an organization-defined time period when allocated audit log storage volume reaches an organization-defined percentage of repository maximum audit log storage capacity. |
Controls
| Number | Title |
|---|---|
| AU-5(1) |
Storage Capacity Warning |