SV-268108r1131020_rule
V-268108
SRG-OS-000051-GPOS-00024
ANIX-00-000480
CAT II
10
Configure the operating system to off-load audit records onto a different system or media from the system being audited by specifying a remote destination in the systemd-journald configuration.
On the client, modify /etc/nixos/configuration.nix or /etc/nixos/flake.nix to include the following lines:
services.journald.upload = {
enable = true;
Upload = {
ServerKeyFile = $PATH_TO_CLIENT_PEM_SSL_KEY;
URL = $URL_OF_REMOTE_SERVER;
ServerCertificateFile = $PATH_TO_SSL_CERT;
TrustedCertificateFile = $PATH_TO_SERVER_CERT;
};
};
}
On the server, modify /etc/nixos/configuration.nix or /etc/nixos/flake.nix to include the following lines:
services.journald.remote = {
enable = true;
listen = "https";
URL = $URL_OF_REMOTE_SERVER;
ServerKeyFile = $PATH_TO_SERVER_PEM_SSL_KEY;
ServerCertificateFile = $PATH_TO_SSL_CERT;
};
};
Verify the audit system off-loads audit records onto a different system or media from the system being audited.
List the configured destinations with the following command:
$ grep -i "Url" /etc/systemd/journal-upload.conf"
If no URL is configured, this is a finding.
V-268108
False
ANIX-00-000480
Verify the audit system off-loads audit records onto a different system or media from the system being audited.
List the configured destinations with the following command:
$ grep -i "Url" /etc/systemd/journal-upload.conf"
If no URL is configured, this is a finding.
M
5658