NixOS must take action when allocated audit record storage volume reaches 75 percent of the repository maximum audit record storage capacity.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-268103SRG-OS-000046-GPOS-00022ANIX-00-000420SV-268103r1039197_rule2024-10-251
Description
If security personnel are not notified immediately when storage volume reaches 75 percent utilization, they are unable to plan for audit record storage capacity expansion.
ℹ️ Check
Verify NixOS takes action when allocated audit record storage volume reaches 75 percent of the repository maximum audit record storage capacity with the following commands: $ sudo grep -w space_left /etc/audit/auditd.conf space_left = 25% If the value of the "space_left" keyword is not set to "25%" or if the line is commented out, this is a finding.
✔️ Fix
Configure the operating system to initiate an action to notify the system administrator (SA) and information system security officer (ISSO) (at a minimum) when allocated audit record storage volume reaches 75 percent of the repository maximum audit record storage. Add or update the 'environment.etc."audit/auditd.conf".text' configuration in /etc/nixos/configuration.nix to include the following: environment.etc."audit/auditd.conf".text = [ '' space_left = 25% '' ]; Rebuild the NixOS configuration with the following command: $ sudo nixos-rebuild switch