documentation_complete: true


title: 'Verify Group Ownership of System Login Banner for Remote Connections'

description: |-
    {{{ describe_file_group_owner(file="/etc/issue.net", group="root") }}}

rationale: |-
    Display of a standardized and approved use notification before granting
    access to the operating system ensures privacy and security notification
    verbiage used is consistent with applicable federal laws, Executive Orders,
    directives, policies, regulations, standards, and guidance.<br />
    Proper group ownership will ensure that only root user can modify the banner.

severity: medium

identifiers:
    cce@rhel8: CCE-86051-0
    cce@rhel9: CCE-86052-8
    cce@rhel10: CCE-88343-9
    cce@sle12: CCE-92236-9
    cce@sle15: CCE-91358-2
    cce@slmicro5: CCE-94059-3

references:
    cis@sle12: 1.8.1.6
    cis@sle15: 1.8.1.6

ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/issue.net", group="root") }}}'

ocil: |-
    {{{ ocil_file_group_owner(file="/etc/issue.net", group="root") }}}

template:
    name: file_groupowner
    vars:
        filepath: /etc/issue.net
        gid_or_name: '0'
