Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0cb378e

Browse files
authored
Merge pull request ComplianceAsCode#35 from SUSE/SLES-12-030191_works
Add rules and remediation for SLES-12-030191 STIG
2 parents 5e7b685 + 2dd02c9 commit 0cb378e

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# platform = multi_platform_sle
2+
# reboot = false
3+
# strategy = restrict
4+
# complexity = low
5+
# disruption = low
6+
7+
{{{ ansible_sshd_set(parameter="ClientAliveCountMax", value="0") }}}

linux_os/guide/services/ssh/ssh_server/sshd_set_keepalive/rule.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ identifiers:
2424
cce@rhel7: CCE-27082-7
2525
cce@rhel8: CCE-80907-9
2626
cce@rhcos4: CCE-82464-9
27+
cce@sle12: CCE-83034-9
2728

2829
references:
2930
stigid@ol7: OL07-00-040340

sle12/profiles/stig.profile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ selections:
1717
- sshd_set_idle_timeout
1818
- disable_ctrlaltdel_reboot
1919
- sshd_enable_x11_forwarding
20+
- sshd_set_keepalive
2021
- gnome_gdm_disable_automatic_login
2122
- no_user_host_based_files
2223
- auditd_data_disk_full_action

0 commit comments

Comments
 (0)