@@ -71,6 +71,10 @@ rhel9cis_auditd:
7171# Max size of audit logs (MB)
7272rhel9cis_max_log_file_size: 1024
7373
74+ # Disable setting of boatloader password. This requires setting the variable
75+ # `rhel9cis_bootloader_password_hash`
76+ rhel9cis_set_boot_pass: false
77+
7478##############################################################################
7579# Ubuntu Jammy CIS Hardening Configuration
7680
@@ -106,27 +110,35 @@ ubtu22cis_rule_5_3_4: false
106110ubtu22cis_sshd:
107111 log_level: "INFO"
108112 max_auth_tries: 4
109- ciphers: "chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr"
110- macs: "hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256"
111- kex_algorithms: "curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256"
113+ ciphers:
114+ - chacha20-poly1305@openssh.com
115+ - aes256-gcm@openssh.com
116+ - aes128-gcm@openssh.com
117+ - aes256-ctr
118+ - aes192-ctr
119+ - aes128-ctr
120+ macs:
121+ - hmac-sha2-512-etm@openssh.com
122+ - hmac-sha2-256-etm@openssh.com
123+ - hmac-sha2-512
124+ - hmac-sha2-256
125+ kex_algorithms:
126+ - curve25519-sha256
127+ - curve25519-sha256@libssh.org
128+ - diffie-hellman-group14-sha256
129+ - diffie-hellman-group16-sha512
130+ - diffie-hellman-group18-sha512
131+ - ecdh-sha2-nistp521
132+ - ecdh-sha2-nistp384
133+ - ecdh-sha2-nistp256
134+ - diffie-hellman-group-exchange-sha256
112135 client_alive_interval: 300
113136 client_alive_count_max: 3
114137 login_grace_time: 60
115- max_sessions: 10
138+ max_sessions: 8
116139 allow_users: "kolla stack ubuntu"
117140 allow_groups: "kolla stack ubuntu"
118- # This variable, if specified, configures a list of USER name patterns, separated by spaces, to prevent SSH access
119- # for users whose user name matches one of the patterns. This is done
120- # by setting the value of `DenyUsers` option in `/etc/ssh/sshd_config` file.
121- # If an USER@HOST format will be used, the specified user will be restricted only on that particular host.
122- # The allow/deny directives process order: DenyUsers, AllowUsers, DenyGroups, AllowGroups.
123- # For more info, see https://linux.die.net/man/5/sshd_config
124141 deny_users: ""
125- # This variable, if specified, configures a list of GROUP name patterns, separated by spaces, to prevent SSH access
126- # for users whose primary group or supplementary group list matches one of the patterns. This is done
127- # by setting the value of `DenyGroups` option in `/etc/ssh/sshd_config` file.
128- # The allow/deny directives process order: DenyUsers, AllowUsers, DenyGroups, AllowGroups.
129- # For more info, see https://linux.die.net/man/5/sshd_config
130142 deny_groups: ""
131143
132144# Do not change /var/lib/docker permissions
0 commit comments