{"description": "The INFO parameter specifies that record login and logout activity will be logged.\n<br/>\nThe default SSH configuration sets the log level to INFO. The appropriate\nconfiguration is used if no value is set for <tt>LogLevel</tt>.\n<br/>\nTo explicitly specify the log level in SSH, add or correct the following line in\n\n\n<tt>/etc/ssh/sshd_config.d/00-complianceascode-hardening.conf</tt>:\n\n<pre>LogLevel INFO</pre>", "rationale": "SSH provides several logging levels with varying amounts of verbosity. <tt>DEBUG</tt> is specifically\nnot recommended other than strictly for debugging SSH communications since it provides\nso much data that it is difficult to identify important security information. <tt>INFO</tt> level is the\nbasic level that only records login activity of SSH users. In many situations, such as Incident\nResponse, it is important to determine when a particular user was active on a system. The\nlogout record can eliminate those users who disconnected, which helps narrow the field.", "severity": "low", "references": {"nist": ["AC-17(a)", "CM-6(a)"], "cis": ["5.1.14"], "ism": ["1409"]}, "control_references": {"cis": ["5.1.14"], "ism": ["1409"]}, "components": [], "identifiers": {}, "ocil_clause": "the required value is not set", "ocil": "To determine how the SSH daemon's <tt>LogLevel</tt> option is set, run the following command:\n\n<pre>$ sudo grep -i LogLevel /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf</pre>\n<pre>$ sudo grep -i LogLevel /etc/ssh/sshd_config.d/01-complianceascode-reinforce-os-defaults.conf</pre>\n\nIf a line indicating <tt>INFO</tt> is returned, then the required value is set.\n", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Set LogLevel to INFO", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ssh/ssh_server/sshd_set_loglevel_info/rule.yml", "template": {"name": "sshd_lineinfile", "vars": {"parameter": "LogLevel", "value": "INFO", "datatype": "string", "is_default_value": "true"}, "backends": {}}}