Skip to content

Commit

Permalink
Merge pull request #12728 from mpurg/fix_oscap_crash_12718
Browse files Browse the repository at this point in the history
Fix to prevent oscap crashing on ubuntu
  • Loading branch information
dodys authored Dec 17, 2024
2 parents dfdd193 + febbda0 commit d2bd82a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ fixtext: |-
srg_requirement: '{{{ full_name }}} must display the Standard Mandatory DoD Notice and Consent Banner before granting local or remote access to the system via a ssh logon.'

{{% if 'ubuntu' not in product %}}
conflicts:
- sshd_enable_warning_banner_net
{{% endif %}}

template:
name: sshd_lineinfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ references:

{{{ complete_ocil_entry_sshd_option(default="no", option="Banner", value="/etc/issue.net") }}}

{{% if 'ubuntu' not in product %}}
conflicts:
- sshd_enable_warning_banner
{{% endif %}}

template:
name: sshd_lineinfile
Expand Down

0 comments on commit d2bd82a

Please sign in to comment.