-
Notifications
You must be signed in to change notification settings - Fork 23
Fixes various issues with the cis.yml playbook #791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,10 @@ rhel9cis_auditd: | |
# Max size of audit logs (MB) | ||
rhel9cis_max_log_file_size: 1024 | ||
|
||
# Disable setting of boatloader password. This requires setting the variable | ||
# `rhel9cis_bootloader_password_hash` | ||
rhel9cis_set_boot_pass: false | ||
|
||
############################################################################## | ||
# Ubuntu Jammy CIS Hardening Configuration | ||
|
||
|
@@ -106,27 +110,35 @@ ubtu22cis_rule_5_3_4: false | |
ubtu22cis_sshd: | ||
log_level: "INFO" | ||
max_auth_tries: 4 | ||
ciphers: "[email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr" | ||
macs: "[email protected],[email protected],hmac-sha2-512,hmac-sha2-256" | ||
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" | ||
ciphers: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- aes256-ctr | ||
- aes192-ctr | ||
- aes128-ctr | ||
macs: | ||
- [email protected] | ||
- [email protected] | ||
- hmac-sha2-512 | ||
- hmac-sha2-256 | ||
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 | ||
client_alive_interval: 300 | ||
client_alive_count_max: 3 | ||
login_grace_time: 60 | ||
max_sessions: 10 | ||
max_sessions: 8 | ||
allow_users: "kolla stack ubuntu" | ||
allow_groups: "kolla stack ubuntu" | ||
# This variable, if specified, configures a list of USER name patterns, separated by spaces, to prevent SSH access | ||
# for users whose user name matches one of the patterns. This is done | ||
# by setting the value of `DenyUsers` option in `/etc/ssh/sshd_config` file. | ||
# If an USER@HOST format will be used, the specified user will be restricted only on that particular host. | ||
# The allow/deny directives process order: DenyUsers, AllowUsers, DenyGroups, AllowGroups. | ||
# For more info, see https://linux.die.net/man/5/sshd_config | ||
deny_users: "" | ||
# This variable, if specified, configures a list of GROUP name patterns, separated by spaces, to prevent SSH access | ||
# for users whose primary group or supplementary group list matches one of the patterns. This is done | ||
# by setting the value of `DenyGroups` option in `/etc/ssh/sshd_config` file. | ||
# The allow/deny directives process order: DenyUsers, AllowUsers, DenyGroups, AllowGroups. | ||
# For more info, see https://linux.die.net/man/5/sshd_config | ||
deny_groups: "" | ||
|
||
# Do not change /var/lib/docker permissions | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
kayobe@git+https://github.com/stackhpc/kayobe@stackhpc/yoga | ||
ansible-modules-hashivault@git+https://github.com/stackhpc/ansible-modules-hashivault@stackhpc;python_version < "3.8" | ||
ansible-modules-hashivault;python_version >= "3.8" | ||
jmespath | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.