documentation_complete: true


title: 'Verify permissions on System Login Banner for Remote Connections'

description: |-
    {{{ describe_file_permissions(file="/etc/issue.net", perms="0644") }}}

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 permissions will ensure that only root user can modify the banner.

severity: medium

identifiers:
    cce@rhel8: CCE-86047-8
    cce@rhel9: CCE-86048-6
    cce@rhel10: CCE-87831-4
    cce@sle12: CCE-92235-1
    cce@sle15: CCE-91357-4
    cce@slmicro5: CCE-94053-6

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

ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/issue.net", perms="-rw-r--r--") }}}'

ocil: |-
    {{{ ocil_file_permissions(file="/etc/issue.net", perms="-rw-r--r--") }}}

template:
    name: file_permissions
    vars:
        filepath: /etc/issue.net
        filemode: '0644'
