Skip to content

Commit

Permalink
Set conflict between two rules.
Browse files Browse the repository at this point in the history
sshd_enable_warning_banner_net and sshd_enable_warning_banner
  • Loading branch information
ggbecker committed Oct 24, 2024
1 parent cc1673b commit 44b40aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ 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.'

conflicts:
- sshd_enable_warning_banner_net

template:
name: sshd_lineinfile
vars:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ references:

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

conflicts:
- sshd_enable_warning_banner

template:
name: sshd_lineinfile
vars:
Expand Down

0 comments on commit 44b40aa

Please sign in to comment.