mirror of
https://github.com/aquasecurity/linux-bench.git
synced 2025-02-22 22:25:33 +01:00
Fixing
Fixing some mistakes from review like: https://github.com/aquasecurity/linux-bench/pull/25#discussion_r329935214
This commit is contained in:
parent
c828e22bce
commit
15bd1d2c3a
1 changed files with 7 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue