We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e98c1 commit 5ad1788Copy full SHA for 5ad1788
1 file changed
controls/sshd_spec.rb
@@ -508,12 +508,12 @@
508
impact 1.0
509
title 'Server: CRYPTO_POLICY'
510
desc 'Verifies, that we are not running CRYPTO_POLICY and our settings from sshd_config are effective'
511
- if os[:family] == "redhat" && ::Gem::Version.new(os.release) > ::Gem::Version.new('8')
+ if os[:family] == 'redhat' && ::Gem::Version.new(os.release) > ::Gem::Version.new('8')
512
describe bash("pgrep -af 'sshd -D'") do
513
its('exit_status') { should eq 0 }
514
its('stdout') { should_not match('-oCiphers') }
515
its('stdout') { should_not match('-oKexAlgorithms') }
516
its('stdout') { should_not match('-oHostKeyAlgorithms') }
517
end
518
519
-end
+end
0 commit comments