Information
RHEL 10 must use cron logging.
GROUP ID: V-280991RULE ID: SV-280991r1165328
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 RHEL 10 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
Restart the rsyslog daemon with the following command for the changes to take effect:
$ sudo systemctl restart rsyslog.service