Skip to content

Commit

Permalink
remove rule_id template parameter from rremaining rules
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtapolasek committed Aug 8, 2024
1 parent 4a6811f commit 7384483
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ template:
name: sshd_lineinfile
vars:
parameter: HostbasedAuthentication
rule_id: disable_host_auth
value: 'no'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ template:
name: sshd_lineinfile
vars:
parameter: PermitEmptyPasswords
rule_id: sshd_disable_empty_passwords
value: 'no'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ template:
name: sshd_lineinfile
vars:
parameter: GSSAPIAuthentication
rule_id: sshd_disable_gssapi_auth
value: 'no'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ template:
name: sshd_lineinfile
vars:
parameter: KerberosAuthentication
rule_id: sshd_disable_kerb_auth
value: 'no'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ template:
name: sshd_lineinfile
vars:
parameter: PubkeyAuthentication
rule_id: sshd_disable_pubkey_auth
value: 'no'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ template:
name: sshd_lineinfile
vars:
parameter: IgnoreRhosts
rule_id: sshd_disable_rhosts
value: 'yes'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,5 @@ template:
name: sshd_lineinfile
vars:
parameter: PermitRootLogin
rule_id: sshd_disable_root_login
value: 'no'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ template:
name: sshd_lineinfile
vars:
parameter: PermitRootLogin
rule_id: sshd_disable_root_password_login
value: 'prohibit-password'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ template:
name: sshd_lineinfile
vars:
parameter: AllowTcpForwarding
rule_id: sshd_disable_tcp_forwarding
value: 'no'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@ template:
name: sshd_lineinfile
vars:
parameter: IgnoreUserKnownHosts
rule_id: sshd_disable_user_known_hosts
value: 'yes'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ template:
name: sshd_lineinfile
vars:
parameter: X11Forwarding
rule_id: sshd_disable_x11_forwarding
value: 'no'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ template:
name: sshd_lineinfile
vars:
parameter: PermitUserEnvironment
rule_id: sshd_do_not_permit_user_env
value: 'no'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ template:
name: sshd_lineinfile
vars:
parameter: GSSAPIAuthentication
rule_id: sshd_enable_gssapi_auth
value: 'yes'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ template:
name: sshd_lineinfile
vars:
parameter: UsePAM
rule_id: sshd_enable_pam
value: 'yes'
datatype: string

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,5 @@ template:
name: sshd_lineinfile
vars:
parameter: PubkeyAuthentication
rule_id: sshd_enable_pubkey_auth
value: 'yes'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ template:
name: sshd_lineinfile
vars:
parameter: StrictModes
rule_id: sshd_enable_strictmodes
value: 'yes'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,5 @@ template:
name: sshd_lineinfile
vars:
parameter: Banner
rule_id: sshd_enable_warning_banner
value: /etc/issue
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,5 @@ template:
name: sshd_lineinfile
vars:
parameter: Banner
rule_id: sshd_enable_warning_banner_net
value: /etc/issue.net
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ template:
name: sshd_lineinfile
vars:
parameter: X11Forwarding
rule_id: sshd_enable_x11_forwarding
value: 'yes'
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ template:
name: sshd_lineinfile
vars:
parameter: PrintLastLog
rule_id: sshd_print_last_log
value: 'yes'
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ template:
name: sshd_lineinfile
vars:
parameter: LogLevel
rule_id: sshd_set_loglevel_info
value: INFO
datatype: string
is_default_value: 'true'
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,5 @@ template:
name: sshd_lineinfile
vars:
parameter: LogLevel
rule_id: sshd_set_loglevel_verbose
value: VERBOSE
datatype: string
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ template:
name: sshd_lineinfile
vars:
parameter: X11UseLocalhost
rule_id: sshd_x11_use_localhost
value: 'yes'
datatype: string
is_default_value: 'true'

0 comments on commit 7384483

Please sign in to comment.