Skip to content

Commit 91a372b

Browse files
committed
ensure compatibility with new inspec version
Signed-off-by: Martin Schurz <[email protected]>
1 parent aac02aa commit 91a372b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

controls/sshd_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
title 'SSH server config'
2222

23-
sshd_valid_ciphers = input('sshd_valid_ciphers', value: ssh_crypto.valid_ciphers, description: 'Expected value for sshd_config ciphers')
24-
sshd_valid_kexs = input('sshd_valid_kexs', value: ssh_crypto.valid_kexs, description: 'Expected value for sshd_config kexs')
25-
sshd_valid_macs = input('sshd_valid_macs', value: ssh_crypto.valid_macs, description: 'Expected value for sshd_config macs')
23+
sshd_valid_ciphers = input('sshd_valid_ciphers', value: "#{ssh_crypto.valid_ciphers}", description: 'Expected value for sshd_config ciphers')
24+
sshd_valid_kexs = input('sshd_valid_kexs', value: "#{ssh_crypto.valid_kexs}", description: 'Expected value for sshd_config kexs')
25+
sshd_valid_macs = input('sshd_valid_macs', value: "#{ssh_crypto.valid_macs}", description: 'Expected value for sshd_config macs')
2626
sshd_permittunnel = input('sshd_permittunnel', value: 'no', description: 'Expected value for sshd_config PermitTunnel')
2727
sshd_tcpforwarding = input('sshd_tcpforwarding', value: 'no', description: 'Expected value for sshd_config TcpForwarding')
2828
sshd_agentforwarding = input('sshd_agentforwarding', value: 'no', description: 'Expected value for sshd_config AgentForwarding')

0 commit comments

Comments
 (0)