documentation_complete: true


title: 'Install rear Package'

description: |-
    {{{ describe_package_install(package="rear") }}}

rationale: |-
    <tt>rear</tt> contains the Relax-and-Recover (ReaR) utility. ReaR produces a bootable
    image of a system and restores from backup using this image.

severity: medium

identifiers:
    cce@rhel8: CCE-82883-0
    cce@rhel9: CCE-83503-3
    cce@rhel10: CCE-90643-8

ocil_clause: 'the package is not installed'

ocil: '{{{ ocil_package(package="rear") }}}'


platforms:
    - not ((s390x_arch and os_linux[rhel]<=8.4) or (os_linux[rhel]>=9.0 and aarch64_arch) or (os_linux[ol]>=9.0 and aarch64_arch))

template:
    name: package_installed
    vars:
        pkgname: rear
