@@ -71,6 +71,10 @@ rhel9cis_auditd:
71
71
# Max size of audit logs (MB)
72
72
rhel9cis_max_log_file_size: 1024
73
73
74
+ # Disable setting of boatloader password. This requires setting the variable
75
+ # `rhel9cis_bootloader_password_hash`
76
+ rhel9cis_set_boot_pass: false
77
+
74
78
##############################################################################
75
79
# Ubuntu Jammy CIS Hardening Configuration
76
80
@@ -106,27 +110,35 @@ ubtu22cis_rule_5_3_4: false
106
110
ubtu22cis_sshd:
107
111
log_level: "INFO"
108
112
max_auth_tries: 4
109
-
110
- macs: "
[email protected] ,
[email protected] ,hmac-sha2-512,hmac-sha2-256"
111
- kex_algorithms: "curve25519-sha256,
[email protected] ,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
+
115
+
116
+
117
+ - aes256-ctr
118
+ - aes192-ctr
119
+ - aes128-ctr
120
+ macs:
121
+
122
+
123
+ - hmac-sha2-512
124
+ - hmac-sha2-256
125
+ kex_algorithms:
126
+ - curve25519-sha256
127
+
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
112
135
client_alive_interval: 300
113
136
client_alive_count_max: 3
114
137
login_grace_time: 60
115
- max_sessions: 10
138
+ max_sessions: 8
116
139
allow_users: "kolla stack ubuntu"
117
140
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
124
141
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
130
142
deny_groups: ""
131
143
132
144
# Do not change /var/lib/docker permissions
0 commit comments