AlmaLinux OS 9 audit system must retain an optimal number of audit records.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269530 | ALMA-09-054580 | SV-269530r1050413_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 num_logs must be set to a value between 2 and 99. | ||||
| STIG | Date | |||
| CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 | |||
Details
Check Text (C-269530r1050413_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 num_logs /etc/audit/auditd.conf
num_logs = 5
If the value of the "num_logs" option is not between 2 and 99, is commented out, or is missing, this is a finding.
Fix Text (F-73462r1049941_fix)
Configure AlmaLinux OS 9 to make full use of the auditd storage volume with rotation enabled.
Add or update the following line ("num_logs" can be set to a number between 2 and 99) in the "/etc/audit/auditd.conf" file:
num_logs = 5