Information
The system includes the capability of rotating log files regularly to avoid filling up the system with logs or making the logs unmanageably large.
By keeping the log files smaller and more manageable, a system administrator can easily archive these files to another system and spend less time looking through inordinately large log files.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
Edit /etc/logrotate.conf and /etc/logrotate.d/* to ensure logs are rotated according to site policy.
/etc is stateless on Container-Optimized OS. Therefore, /etc cannot be used to make these changes persistent across reboots. The steps mentioned above needs to be performed after every boot.