Information
Cron logging must be implemented in OL 8.
GROUP ID: V-248723
RULE ID: SV-248723r991589
Cron logging can be used to trace the successful or unsuccessful execution of cron jobs. It can also be used to spot intrusions into the use of the cron facility by unauthorized and malicious users.
Solution
Configure "rsyslog" to log all cron messages by adding or updating the following line to "/etc/rsyslog.conf" or a configuration file in the "/etc/rsyslog.d/" directory:
cron.* /var/log/cron
The rsyslog daemon must be restarted for the changes to take effect:
$ sudo systemctl restart rsyslog.service