From df92a27b1a947e0c430e1a924213a9dabb1d885f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mich=C3=A9e=20lengronne?= Date: Fri, 8 May 2020 13:06:02 +0200 Subject: [PATCH] compatibility with the CIS profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removing the `s` of `30s` makes it compatible with the `<60` of the CIS profile. Signed-off-by: Michée Lengronne --- controls/sshd_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/sshd_spec.rb b/controls/sshd_spec.rb index 09e4cbe..10f8a99 100644 --- a/controls/sshd_spec.rb +++ b/controls/sshd_spec.rb @@ -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