forked from ansible-lockdown/RHEL9-CIS
section1 v2 initial
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
cf4376f1f7
commit
8b58d71e4b
47 changed files with 2181 additions and 1707 deletions
|
|
@ -0,0 +1,6 @@
|
|||
# This is a subpolicy dropping the SHA1 hash and signature support
|
||||
# Carried out as part of CIS Benchmark
|
||||
|
||||
hash = -SHA1
|
||||
sign = -*-SHA1
|
||||
sha1_in_certs = 0
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# This is a subpolicy to disable all CBC mode ciphers
|
||||
# for the SSH protocol (libssh and OpenSSH)
|
||||
# Carried out as part of CIS Benchmark
|
||||
|
||||
cipher@SSH = -*-CBC
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# This is a subpolicy to disable the chacha20-poly1305 ciphers
|
||||
# for the SSH protocol (libssh and OpenSSH)
|
||||
# Carried out as part of CIS Benchmark
|
||||
|
||||
cipher@SSH = -CHACHA20-POLY1305
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# This is a subpolicy to disable Encrypt then MAC
|
||||
# for the SSH protocol (libssh and OpenSSH)
|
||||
# Carried out as part of CIS Benchmark
|
||||
|
||||
etm@SSH = DISABLE_ETM
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
# This is a subpolicy to disable weak macs
|
||||
# Carried out as part of CIS Benchmark
|
||||
|
||||
mac = -*-64
|
||||
|
|
@ -1,7 +1,12 @@
|
|||
## This file is managed by Ansible, YOUR CHANGES WILL BE LOST!
|
||||
|
||||
{% if rhel9cis_rule_1_5_3 %}
|
||||
# Kernel sysctl
|
||||
# CIS 1.5.3
|
||||
{% if rhel9cis_rule_1_5_1 %}
|
||||
# Adress space randomise
|
||||
# CIS 1.5.1
|
||||
kernel.randomize_va_space = 2
|
||||
{% endif %}
|
||||
{% if rhel9cis_rule_1_5_2 %}
|
||||
# Ptrace scope
|
||||
# CIS 1.5.2
|
||||
kernel.yama.ptrace_scope = 1
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue