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

Skip to content

Commit 2dd02c9

Browse files
committed
Add rules and remediation for SLES-12-030191 STIG
1 parent d26d46d commit 2dd02c9

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
@@ -16,6 +16,7 @@ selections:
1616
- sshd_do_not_permit_user_env
1717
- disable_ctrlaltdel_reboot
1818
- sshd_enable_x11_forwarding
19+
- sshd_set_keepalive
1920
- gnome_gdm_disable_automatic_login
2021
- no_user_host_based_files
2122
- auditd_data_disk_full_action

0 commit comments

Comments
 (0)