Fixing some mistakes from review like: https://github.com/aquasecurity/linux-bench/pull/25#discussion_r329935214
This commit is contained in:
yoavrotems 2019-10-06 19:33:07 +03:00 committed by GitHub
parent c828e22bce
commit 15bd1d2c3a
Failed to generate hash of commit

View file

@ -7697,12 +7697,18 @@ groups:
description: "Ensure SSH Idle Timeout Interval is configured"
audit: "sshd -T | grep clientaliveinterval"
tests:
bin_op: and
test_items:
- flag: "clientaliveinterval"
compare:
op: lte
value: "300"
set: true
set: true
- flag: "clientaliveinterval"
compare:
op: gte
value: "1"
set: true
remediation: |
Edit the `/etc/ssh/sshd_config` file to set the parameters according to site policy: