2022-01-07 09:06:18 +00:00
|
|
|
---
|
|
|
|
|
# vars file for RHEL9-CIS
|
2022-02-02 11:25:03 +00:00
|
|
|
|
2023-01-27 12:21:26 +00:00
|
|
|
min_ansible_version: 2.10.1
|
2022-01-07 09:06:18 +00:00
|
|
|
rhel9cis_allowed_crypto_policies:
|
2024-07-24 14:01:40 +01:00
|
|
|
- 'DEFAULT'
|
|
|
|
|
- 'FUTURE'
|
|
|
|
|
- 'FIPS'
|
2022-07-20 17:13:33 +01:00
|
|
|
|
2023-06-06 14:36:38 +01:00
|
|
|
rhel9cis_allowed_crypto_policies_modules:
|
2024-07-24 14:01:40 +01:00
|
|
|
- 'OSPP'
|
|
|
|
|
- 'AD-SUPPORT'
|
|
|
|
|
- 'AD-SUPPORT-LEGACY'
|
|
|
|
|
- 'NO-SHA1'
|
|
|
|
|
- 'NO-SSHCBC'
|
|
|
|
|
- 'NO-SSHETM'
|
|
|
|
|
- 'NO-SSHWEAKCIPHER'
|
|
|
|
|
- 'NO-SSHWEAKMAC'
|
|
|
|
|
- 'NO-WEAKMAC'
|
2023-06-06 14:36:38 +01:00
|
|
|
|
2022-07-20 17:13:33 +01:00
|
|
|
# Used to control warning summary
|
2023-01-13 12:10:18 +00:00
|
|
|
warn_control_list: ""
|
2022-07-25 11:24:50 +01:00
|
|
|
warn_count: 0
|
2023-03-06 11:21:08 +00:00
|
|
|
|
2024-02-20 15:43:43 +00:00
|
|
|
gpg_key_package: "{{ ansible_facts.distribution | lower }}-gpg-keys"
|
2024-07-24 14:01:40 +01:00
|
|
|
|
|
|
|
|
## Control 6.3.3.x - Audit template
|
|
|
|
|
# This variable governs if the auditd logic should be executed(if value is true).
|
|
|
|
|
# NOTE: The current default value is likely to be overriden(via 'set_fact') by other further tasks(in sub-section 'Auditd rules').
|
|
|
|
|
update_audit_template: false
|
2024-08-09 13:14:56 +01:00
|
|
|
|
|
|
|
|
# Defaults
|
|
|
|
|
## Usage on containerized images
|
|
|
|
|
# The role discovers dynamically (in tasks/main.yml) whether it
|
|
|
|
|
# is executed on a container image and sets the variable
|
|
|
|
|
# system_is_container the true. Otherwise, the default value
|
|
|
|
|
# 'false' is left unchanged.
|
|
|
|
|
system_is_container: false
|
|
|
|
|
# The filename of the existing yml file in role's 'vars/' sub-directory
|
|
|
|
|
# to be used for managing the role-behavior when a container was detected:
|
|
|
|
|
# (de)activating rules or for other tasks(e.g. disabling Selinux or a specific
|
|
|
|
|
# firewall-type).
|
|
|
|
|
container_vars_file: is_container.yml
|
|
|
|
|
# rhel9cis is left off the front of this var for consistency in testing pipeline
|
|
|
|
|
# system_is_ec2 toggle will disable tasks that fail on Amazon EC2 instances. Set true to skip and false to run tasks
|
|
|
|
|
system_is_ec2: false
|
2024-12-10 16:45:49 +00:00
|
|
|
|
|
|
|
|
# Aide initiate command for new DB creation
|
|
|
|
|
aide_initiate_command: aideinit -y -f
|
|
|
|
|
|
|
|
|
|
# Audit vars
|
|
|
|
|
audit_bins:
|
|
|
|
|
- /sbin/auditctl
|
|
|
|
|
- /sbin/aureport
|
|
|
|
|
- /sbin/ausearch
|
|
|
|
|
- /sbin/autrace
|
|
|
|
|
- /sbin/auditd
|
|
|
|
|
- /sbin/augenrules
|