Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/maintenance/cis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
that:
- ssh_key_type != 'ed25519'
fail_msg: FIPS policy does not currently support ed25519 SSH keys on RHEL family systems
when: ansible_facts.os_family == 'RedHat'
when: ansible_facts.os_family == 'RedHat' and rhel9cis_crypto_policy == 'FIPS'

- name: Ensure the cron package is installed on ubuntu
ansible.builtin.package:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
##############################################################################
# Rocky 9 CIS Hardening Configuration

# NOTE: Using DEFAULT crypto policy in CI. FIPS breaks ed25519 SSH keys, and
# FUTURE breaks wazuh agent repo metadata download.
rhel9cis_crypto_policy: DEFAULT
Comment on lines +5 to +7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This configuration is duplicated in etc/kayobe/environments/ci-multinode/inventory/group_vars/cis-hardening/cis. To improve maintainability and avoid having to update multiple files for future changes, consider defining this in a common inventory group for all CI environments. If you have a parent group for ci-aio and ci-multinode, you could define this variable there to keep the configuration DRY (Don't Repeat Yourself).


# Disable shell timeout for inactivity which can be disruptive to
# development work.
rhel9cis_rule_5_4_3_2: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
##############################################################################
# Rocky 9 CIS Hardening Configuration

# NOTE: Using DEFAULT crypto policy in CI. FIPS breaks ed25519 SSH keys, and
# FUTURE breaks wazuh agent repo metadata download.
rhel9cis_crypto_policy: DEFAULT

# Disable shell timeout for inactivity which can be disruptive to
# development work.
rhel9cis_rule_5_4_3_2: false
Expand Down