1. Home
  2. Security Hardening
  3. CIS Aliyun Linux 2 L2 V1.0.0
  4. Ensure audit log storage size is configured

Ensure audit log storage size is configured

Details

Configure the maximum size of the audit log file. Once the log reaches the maximum size, it will be rotated and a new log file will be started.

Rationale:

It is important that an appropriate size is determined for log files so that they do not impact the system and audit data is not lost.

Solution

Set the following parameter in /etc/audit/auditd.conf in accordance with site policy:

max_log_file =
Run the following command:
# service auditd restart

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles