{"description": "Configure the action the operating system takes if there is an error sending\naudit records to a remote system. Edit the file <tt>/etc/audit/audisp-remote.conf</tt>.\nAdd or modify the following line, substituting <i>ACTION</i> appropriately:\n<pre>network_failure_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.\nThis profile configures the <i>action</i> to be <tt><sub idref=\"var_audispd_network_failure_action\" /></tt>.", "rationale": "Taking appropriate action when there is an error sending audit records to a\nremote system will minimize 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 perform a correct action according to the policy:\n<pre>$ sudo grep -i network_failure_action /etc/audit/audisp-remote.conf</pre>\nThe output should return:\n<pre>network_failure_action = <sub idref=\"var_audispd_network_failure_action\" /></pre>", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04 to take an appropriate action when there is an error sending audit records to a remote system.\n\nAdd or edit the following line in \"/etc/audit/audisp-remote.conf\":\n\nnetwork_failure_action = <sub idref=\"var_audispd_network_failure_action\" />", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must switch to single user mode on a network failure.", "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 network_failure_action On Network Failure", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/auditing/configure_auditd_data_retention/auditd_audispd_network_failure_action/rule.yml", "template": null}