{"description": "Configure the action the operating system takes if the disk the audit records\nare written to becomes full. Edit the file <tt>/etc/audit/audisp-remote.conf</tt>.\nAdd or modify the following line, substituting <i>ACTION</i> appropriately:\n<pre>disk_full_action = <i>ACTION</i></pre>\nSet this value to <tt>single</tt> to cause the system to switch to single user\nmode for corrective action. Acceptable values also include <tt>syslog</tt> and\n<tt>halt</tt>. For certain systems, the need for availability\noutweighs the need to log all actions, and a different setting should be\ndetermined.", "rationale": "Taking appropriate action in case of a filled audit storage volume will\nminimize the possibility of losing audit records.", "severity": "medium", "references": {"nist": ["AU-5(b)", "AU-5(2)", "AU-5(1)", "AU-5(4)", "CM-6(a)"], "srg": ["SRG-OS-000342-GPOS-00133", "SRG-OS-000479-GPOS-00224"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the system is not configured to switch to single user mode for corrective action", "ocil": "Inspect <tt>/etc/audit/audisp-remote.conf</tt> and locate the following line to\ndetermine if the system is configured to either send to syslog, switch to single user mode,\nor halt when the disk is full:\n<pre>$ sudo grep -i disk_full_action /etc/audit/audisp-remote.conf</pre>\nThe output should return something similar to:\n<pre>disk_full_action = single</pre>\nAcceptable values also include <tt>syslog</tt> and <tt>halt</tt>.", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04 to switch to single user mode when the disk is full.\n\nAdd or edit the following line in \"/etc/audit/audisp-remote.conf\":\n\ndisk_full_action = single", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must switch to single user mode when the disk is full.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["package[audit]", "system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["package_audit", "system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Configure audispd's Plugin disk_full_action When Disk Is Full", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/auditing/configure_auditd_data_retention/auditd_audispd_disk_full_action/rule.yml", "template": null}