Skip to content

Commit

Permalink
compatibility with the CIS profile
Browse files Browse the repository at this point in the history
Removing the `s` of `30s` makes it compatible with the `<60` of the CIS profile.
  • Loading branch information
micheelengronne authored May 8, 2020
1 parent 5d8da16 commit 8da7fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/sshd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
title 'Server: Specify LoginGraceTime'
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.'
describe sshd_config do
its('LoginGraceTime') { should eq('30s') }
its('LoginGraceTime') { should eq('30') }
end
end

Expand Down

0 comments on commit 8da7fcb

Please sign in to comment.