SV-274079r1210985_rule
V-274079
SRG-OS-000479-GPOS-00224
AZLX-23-002075
CAT II
10
Configure Amazon Linux 2023 to use the OpenSSL TLS driver (ossl) to encrypt offloaded audit records by setting the following options in "/etc/rsyslog.conf" or "/etc/rsyslog.d/[customfile].conf":
$DefaultNetstreamDriver ossl
Verify Amazon Linux 2023 explicitly defines the OpenSSL TLS driver (ossl) for encrypted rsyslog offloading.
Search for an explicitly defined stream driver with the following command:
$ sudo grep -rE 'StreamDriver\s*=\s*"ossl"|\$DefaultNetstreamDriver\s+ossl' /etc/rsyslog.conf /etc/rsyslog.d/
/etc/rsyslog.conf:$DefaultNetstreamDriver ossl
If the value of the "$DefaultNetstreamDriver" option is not set to "ossl" or the line is commented out, this is a finding.
V-274079
False
AZLX-23-002075
Verify Amazon Linux 2023 explicitly defines the OpenSSL TLS driver (ossl) for encrypted rsyslog offloading.
Search for an explicitly defined stream driver with the following command:
$ sudo grep -rE 'StreamDriver\s*=\s*"ossl"|\$DefaultNetstreamDriver\s+ossl' /etc/rsyslog.conf /etc/rsyslog.d/
/etc/rsyslog.conf:$DefaultNetstreamDriver ossl
If the value of the "$DefaultNetstreamDriver" option is not set to "ossl" or the line is commented out, this is a finding.
M
5700