SV-280990r1165325_rule
V-280990
SRG-OS-000032-GPOS-00013
RHEL-10-200647
CAT II
10
Configure RHEL 10 to monitor all remote access methods.
Add or update the following lines to the "/etc/rsyslog.conf" file or a file in "/etc/rsyslog.d":
auth.*;authpriv.*;daemon.* /var/log/secure
Restart the "rsyslog" service with the following command for the changes to take effect:
$ sudo systemctl restart rsyslog.service
Verify RHEL 10 monitors all remote access methods with the following command:
$ sudo grep -rE '(auth.\*|authpriv.\*|daemon.\*)' /etc/rsyslog.conf /etc/rsyslog.d/
/etc/rsyslog.conf:authpriv.* /var/log/secure
If "auth.*", "authpriv.*", or "daemon.*" are not configured to be logged, this is a finding.
V-280990
False
RHEL-10-200647
Verify RHEL 10 monitors all remote access methods with the following command:
$ sudo grep -rE '(auth.\*|authpriv.\*|daemon.\*)' /etc/rsyslog.conf /etc/rsyslog.d/
/etc/rsyslog.conf:authpriv.* /var/log/secure
If "auth.*", "authpriv.*", or "daemon.*" are not configured to be logged, this is a finding.
M
5733