SV-280988r1195374_rule
V-280988
SRG-OS-000342-GPOS-00133
RHEL-10-200645
CAT II
10
Configure RHEL 10 to encrypt off-loaded audit records via rsyslog by enabling TLS within the "omfwd" action rule.
Edit the configuration file containing the "omfwd" rule (e.g., /etc/rsyslog.d/99-forwarding.conf) and add the tls="on" parameter.
Example:
action(
type="omfwd"
target="logserver.example.com"
protocol="tcp"
port="6514"
tls="on"
)
After applying the configuration, restart the rsyslog service:
$ sudo systemctl restart rsyslog
Verify RHEL 10 encrypts audit records offloaded onto a different system via rsyslog using the modern "omfwd" action.
Search for active TLS-enabling configurations within "omfwd" action blocks with the following command:
$ sudo grep -rE 'tls="on"|StreamDriver.Mode\s*=\s*"1"' /etc/rsyslog.conf /etc/rsyslog.d/
If an active TCP-based "omfwd" forwarding rule exists on the system but the command above returns no active configuration lines, or if all results are commented out, this is a finding.
V-280988
False
RHEL-10-200645
Verify RHEL 10 encrypts audit records offloaded onto a different system via rsyslog using the modern "omfwd" action.
Search for active TLS-enabling configurations within "omfwd" action blocks with the following command:
$ sudo grep -rE 'tls="on"|StreamDriver.Mode\s*=\s*"1"' /etc/rsyslog.conf /etc/rsyslog.d/
If an active TCP-based "omfwd" forwarding rule exists on the system but the command above returns no active configuration lines, or if all results are commented out, this is a finding.
M
5733