{"description": "The <tt>auditd</tt> service can be configured to take an action\nwhen disk space <i>starts</i> to run low.\nEdit the file <tt>/etc/audit/auditd.conf</tt>. Modify the following line,\nsubstituting <i>ACTION</i> appropriately:\n<pre>space_left_action = <i>ACTION</i></pre>\nPossible values for <i>ACTION</i> are described in the <tt>auditd.conf</tt> man page.\nThese include:\n<ul>\n<li><tt>syslog</tt></li>\n<li><tt>email</tt></li>\n<li><tt>exec</tt></li>\n<li><tt>suspend</tt></li>\n<li><tt>single</tt></li>\n<li><tt>halt</tt></li>\n</ul>\nSet this to <tt>email</tt> (instead of the default,\nwhich is <tt>suspend</tt>) as it is more likely to get prompt attention. Acceptable values\nalso include <tt>suspend</tt>, <tt>single</tt>, and <tt>halt</tt>.", "rationale": "Notifying administrators of an impending disk space problem may\nallow them to take corrective action prior to any disruption.", "severity": "medium", "references": {"cis-csc": ["1", "11", "12", "13", "14", "15", "16", "19", "2", "3", "4", "5", "6", "7", "8"], "cjis": ["5.4.1.1"], "cobit5": ["APO11.04", "APO12.06", "APO13.01", "BAI03.05", "BAI04.04", "BAI08.02", "DSS02.02", "DSS02.04", "DSS02.07", "DSS03.01", "DSS05.04", "DSS05.07", "MEA02.01"], "cui": ["3.3.1"], "hipaa": ["164.312(a)(2)(ii)"], "isa-62443-2009": ["4.2.3.10", "4.3.3.3.9", "4.3.3.5.8", "4.3.4.4.7", "4.3.4.5.6", "4.3.4.5.7", "4.3.4.5.8", "4.4.2.1", "4.4.2.2", "4.4.2.4"], "isa-62443-2013": ["SR 2.10", "SR 2.11", "SR 2.12", "SR 2.8", "SR 2.9", "SR 6.1", "SR 7.1", "SR 7.2"], "iso27001-2013": ["A.12.1.3", "A.12.4.1", "A.12.4.2", "A.12.4.3", "A.12.4.4", "A.12.7.1", "A.16.1.4", "A.16.1.5", "A.16.1.7", "A.17.2.1"], "nist": ["AU-5(b)", "AU-5(2)", "AU-5(1)", "AU-5(4)", "CM-6(a)"], "nist-csf": ["DE.AE-3", "DE.AE-5", "PR.DS-4", "PR.PT-1", "RS.AN-1", "RS.AN-4"], "pcidss": ["Req-10.7"], "srg": ["SRG-OS-000343-GPOS-00134"], "cis": ["6.3.2.4"], "pcidss4": ["10.5.1", "10.5"], "stigid": ["UBTU-22-653040"], "stigref": ["SV-260596r971542_rule"]}, "control_references": {"cis": ["6.3.2.4"], "pcidss4": ["10.5.1", "10.5"], "stigid": ["UBTU-22-653040"]}, "components": [], "identifiers": {}, "ocil_clause": "there is no evidence that real-time alerts are configured on the system", "ocil": "Verify Ubuntu 22.04 notifies the SA and ISSO (at a minimum) when allocated audit record storage volume reaches 75 percent of the repository maximum audit record storage capacity with the following command:\n\n<pre>$ sudo grep -w space_left_action /etc/audit/auditd.conf\n\nspace_left_action = <sub idref=\"var_auditd_space_left_action\" /></pre>\n\nIf the value of the \"space_left_action\" is not set to \"<sub idref=\"var_auditd_space_left_action\" />\", or if the line is commented out, ask the System Administrator to indicate how the system is providing real-time alerts to the SA and ISSO.", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04 to initiate an action to notify the SA and ISSO (at a minimum) when allocated audit record storage volume reaches 75 percent of the repository maximum audit record storage capacity by adding/modifying the following line in the /etc/audit/auditd.conf file.\n\n<pre>space_left_action = <sub idref=\"var_auditd_space_left_action\" /></pre>", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must notify the System Administrator (SA) and Information System Security Officer (ISSO) (at a minimum) when allocated audit record storage volume 75 percent utilization.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must notify the System Administrator (SA) and Information System Security Officer (ISSO) (at a minimum) when allocated audit record storage volume 75 percent utilization.", "vuldiscussion": "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.", "checktext": "Verify Ubuntu 22.04 notifies the SA and ISSO (at a minimum) when allocated audit record storage volume reaches 75 percent of the repository maximum audit record storage capacity with the following command:\n\n$ sudo grep -w space_left_action /etc/audit/auditd.conf\n\nspace_left_action = email\n\nIf the value of the \"space_left_action\" is not set to \"email\", or if the line is commented out, ask the System Administrator to indicate how the system is providing real-time alerts to the SA and ISSO.\n\nIf there is no evidence that real-time alerts are configured on the system, this is a finding.", "fixtext": "Configure Ubuntu 22.04 to initiate an action to notify the SA and ISSO (at a minimum) when allocated audit record storage volume reaches 75 percent of the repository maximum audit record storage capacity by adding/modifying the following line in the /etc/audit/auditd.conf file.\n\nspace_left_action = email"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["package[audit]", "system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel", "package_audit"], "bash_conditional": null, "fixes": {}, "title": "Configure auditd space_left Action on Low Disk Space", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/auditing/configure_auditd_data_retention/auditd_data_retention_space_left_action/rule.yml", "template": null}