AlmaLinux OS 9 audit system must make full use of the audit storage space.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269528 | ALMA-09-054360 | SV-269528r1050411_rule | CCI-000140 | medium |
| Description | ||||
| max_log_file (size in megabytes) multiplied by num_logs must make full use of the auditd storage volume (separate to the root partition). If max_log_file_action is set to ROTATE or KEEP_LOGS then max_log_file must be set to a value that makes the most use of the storage available. | ||||
| STIG | Date | |||
| CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 | |||
Details
Check Text (C-269528r1050411_chk)
Verify that AlmaLinux OS 9 is configured to make full use of the auditd storage volume when rotation is enabled, with the following command:
$ grep max_log_file /etc/audit/auditd.conf
max_log_file = 8
If the value of the "max_log_file" option is not sufficiently large to maximize the use of the storage volume, is commented out, or is missing, this is a finding.
Fix Text (F-73460r1049935_fix)
Configure AlmaLinux OS 9 to make full use of the auditd storage volume with rotation enabled.
Add or update the following line in the "/etc/audit/auditd.conf" file to a value large enough to make efficient use of the auditd storage volume:
max_log_file = 100