{{% if 'rhel' in product or product in ['ol8','ol9'] -%}}
{{% set pkg='rsync-daemon' %}}
{{% else %}}
{{% set pkg='rsync' %}}
{{% endif %}}

documentation_complete: true


title: 'Uninstall rsync Package'

description: |-
    The rsyncd service can be used to synchronize files between systems over network links.
    {{{ describe_package_remove(package=pkg) }}}

rationale: |-
    The rsyncd service presents a security risk as it uses unencrypted protocols for
    communication.

severity: medium

identifiers:
    cce@rhel8: CCE-86335-7
    cce@rhel9: CCE-86336-5
    cce@rhel10: CCE-88025-2
    cce@sle12: CCE-92313-6
    cce@sle15: CCE-92468-8

references:
    cis@sle12: 2.2.17
    cis@sle15: 2.2.17

{{{ complete_ocil_entry_package(package=pkg) }}}

fixtext: '{{{ fixtext_package_removed(pkg) }}}'

template:
    name: package_removed
    vars:
        pkgname: {{{ pkg }}}
