SV-274078r1120222_rule
V-274078
SRG-OS-000479-GPOS-00224
AZLX-23-002070
CAT II
10
Configure Amazon Linux 2023 to encrypt off-loaded audit records via rsyslog by setting the following options in "/etc/rsyslog.conf" or "/etc/rsyslog.d/[customfile].conf":
$ActionSendStreamDriverMode 1
Verify Amazon Linux 2023 encrypts audit records off-loaded onto a different system or media from the system being audited via rsyslog with the following command:
$ sudo grep -i '$ActionSendStreamDriverMode' /etc/rsyslog.conf /etc/rsyslog.d/*.conf
/etc/rsyslog.conf:$ActionSendStreamDriverMode 1
If the value of the "$ActionSendStreamDriverMode" option is not set to "1" or the line is commented out, this is a finding.
V-274078
False
AZLX-23-002070
Verify Amazon Linux 2023 encrypts audit records off-loaded onto a different system or media from the system being audited via rsyslog with the following command:
$ sudo grep -i '$ActionSendStreamDriverMode' /etc/rsyslog.conf /etc/rsyslog.d/*.conf
/etc/rsyslog.conf:$ActionSendStreamDriverMode 1
If the value of the "$ActionSendStreamDriverMode" option is not set to "1" or the line is commented out, this is a finding.
M
5700