Skip to content

Commit 8da7fcb

Browse files
compatibility with the CIS profile
Removing the `s` of `30s` makes it compatible with the `<60` of the CIS profile.
1 parent 5d8da16 commit 8da7fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controls/sshd_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
title 'Server: Specify LoginGraceTime'
221221
desc 'The LoginGraceTime gives the user 30 seconds to accomplish a login. This could be used to conduct a Denial of Service (DoS) against a running SSH daemon.'
222222
describe sshd_config do
223-
its('LoginGraceTime') { should eq('30s') }
223+
its('LoginGraceTime') { should eq('30') }
224224
end
225225
end
226226

0 commit comments

Comments
 (0)