Skip to content

NixOS must have the packages required for offloading audit logs installed and running.

An XCCDF Rule

Description

Information stored in one location is vulnerable to accidental or incidental deletion or alteration. Off-loading is a common process in information systems with limited audit storage capacity. NixOS supports "syslog-ng". "syslog-ng" is a common system utility providing support for message logging. Support for both internet and Unix domain sockets enables this utility to support both local and remote logging. This utility also natively supports TLS to securely encrypt and off-load auditing. Satisfies: SRG-OS-000051-GPOS-00024, SRG-OS-000269-GPOS-00103

ID
SV-268107r1039594_rule
Version
ANIX-00-000460
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the operating system to offload audit logs.

Install the syslog-ng service (if the syslog-ng service is not already installed) and ensure the syslog-ng service is enabled by adding or updating the following configuration in /etc/nixos/configuration.nix:

 services.syslog-ng.enable = true;