documentation_complete: true

title: 'Enable rsyslog Service'

description: |-
    The <tt>rsyslog</tt> service provides syslog-style logging by default on {{{ full_name }}}.
    {{{ describe_service_enable(service="rsyslog") }}}

rationale: |-
    The <tt>rsyslog</tt> service must be running in order to provide
    logging services, which are essential to system administration.

severity: medium

identifiers:
    cce@rhel8: CCE-80886-5
    cce@rhel9: CCE-83989-4
    cce@rhel10: CCE-90584-4
    cce@sle12: CCE-91460-6
    cce@sle15: CCE-91162-8
    cce@sle16: CCE-96171-4

references:
    cis-csc: 1,12,13,14,15,16,2,3,5,6,7,8,9
    cis@sle12: 4.2.1.2
    cis@sle15: 4.2.1.2
    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
    stigid@ol8: OL08-00-010561

ocil_clause: '{{{ ocil_clause_service_enabled(service="rsyslog") }}}'

ocil: |-
    {{{ ocil_service_enabled(service="rsyslog") }}}

fixtext: '{{{ fixtext_service_enabled("rsyslog") }}}'

srg_requirement: '{{{ srg_requirement_service_enabled("rsyslog") }}}'

template:
    name: service_enabled
    vars:
        servicename: rsyslog

{{% if product in ['ubuntu2404'] %}}
platform: package[rsyslog]
{{% endif %}}
