SV-280989r1197222_rule
V-280989
SRG-OS-000342-GPOS-00133
RHEL-10-200646
CAT II
10
Configure RHEL 10 to explicitly define a TLS driver for rsyslog to use for encrypting off-loaded audit records. The "ossl" driver is required for environments operating in FIPS mode.
Add the "streamdriver" parameter to the "omfwd" action rule in its configuration file (e.g., /etc/rsyslog.d/99-forwarding.conf).
Example:
action(
type="omfwd"
streamdriver="ossl"
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 explicitly defines a TLS driver (gtls or ossl) for encrypted rsyslog off-loading.
Search for an explicitly defined stream driver within "omfwd" action blocks with the following command:
$ sudo grep -rE 'StreamDriver\s*=\s*"(gtls|ossl)"' /etc/rsyslog.conf /etc/rsyslog.d/
If TLS-based "omfwd" forwarding is configured, but the command above returns no active configuration lines specifying either "gtls" or "ossl" within the action block, this is a finding.
V-280989
False
RHEL-10-200646
Verify RHEL 10 explicitly defines a TLS driver (gtls or ossl) for encrypted rsyslog off-loading.
Search for an explicitly defined stream driver within "omfwd" action blocks with the following command:
$ sudo grep -rE 'StreamDriver\s*=\s*"(gtls|ossl)"' /etc/rsyslog.conf /etc/rsyslog.d/
If TLS-based "omfwd" forwarding is configured, but the command above returns no active configuration lines specifying either "gtls" or "ossl" within the action block, this is a finding.
M
5733