{"description": "The <tt>rsyslog</tt> service provides syslog-style logging by default on Ubuntu 22.04.\n\nThe <code>rsyslog</code> service can be enabled with the following command:\n<pre>$ sudo systemctl enable rsyslog.service</pre>", "rationale": "The <tt>rsyslog</tt> service must be running in order to provide\nlogging services, which are essential to system administration.", "severity": "medium", "references": {"cis-csc": ["1", "12", "13", "14", "15", "16", "2", "3", "5", "6", "7", "8", "9"], "cobit5": ["APO10.01", "APO10.03", "APO10.04", "APO10.05", "APO11.04", "APO13.01", "BAI03.05", "BAI04.04", "DSS01.03", "DSS03.05", "DSS05.02", "DSS05.04", "DSS05.05", "DSS05.07", "MEA01.01", "MEA01.02", "MEA01.03", "MEA01.04", "MEA01.05", "MEA02.01"], "hipaa": ["164.312(a)(2)(ii)"], "isa-62443-2009": ["4.3.2.6.7", "4.3.3.3.9", "4.3.3.5.8", "4.3.4.4.7", "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 6.2", "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.14.2.7", "A.15.2.1", "A.15.2.2", "A.17.2.1"], "nist": ["CM-6(a)", "AU-4(1)"], "nist-csf": ["DE.CM-1", "DE.CM-3", "DE.CM-7", "ID.SC-4", "PR.DS-4", "PR.PT-1"], "srg": ["SRG-OS-000480-GPOS-00227"], "ism": ["1409"], "stigid": ["UBTU-22-652010"], "stigref": ["SV-260588r991562_rule"]}, "control_references": {"ism": ["1409"], "stigid": ["UBTU-22-652010"]}, "components": [], "identifiers": {}, "ocil_clause": "the \"rsyslog\" service is disabled, masked, or not started.", "ocil": "\n\nRun the following command to determine the current status of the\n<code>rsyslog</code> service:\n<pre>$ sudo systemctl is-active rsyslog</pre>\nIf the service is running, it should return the following: <pre>active</pre>", "oval_external_content": null, "fixtext": "To enable the rsyslog service run the following command:\n$ sudo systemctl enable --now rsyslog", "checktext": "", "vuldiscussion": "", "srg_requirement": "The Ubuntu 22.04 service rsyslog must be enabled.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "The rsyslog service on Ubuntu 22.04 must be active.", "vuldiscussion": "The \"rsyslog\" service must be running to provide logging services, which are essential to system administration.", "checktext": "Verify that \"rsyslog\" is active with the following command:\n\n$ systemctl is-active rsyslog\n\nactive\n\nIf the rsyslog service is not active, this is a finding.", "fixtext": "To enable the rsyslog service, run the following command:\n\n$ sudo systemctl enable --now rsyslog"}}, "platform": null, "platforms": [], "sce_metadata": {"check-import": "stdout", "platform": ["multi_platform_all"], "environment": "any", "filename": "service_rsyslog_enabled.sh", "relative_path": "ubuntu2204/checks/sce/service_rsyslog_enabled.sh"}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Enable rsyslog Service", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/logging/service_rsyslog_enabled/rule.yml", "template": {"name": "service_enabled", "vars": {"servicename": "rsyslog"}, "backends": {}}}