@@ -40,7 +40,7 @@ ubtu22cis_ask_passwd_to_boot: false
4040# is executed on a container image and sets the variable
4141# system_is_container the true. Otherwise, the default value
4242# 'false' is left unchanged.
43- system_is_container : false
43+ container_vars_file : is_container.yml
4444
4545# # Root user used
4646# Root by default is not used unless setup by user
@@ -543,8 +543,10 @@ ubtu22cis_config_aide: true
543543# # When Initializing aide this can take longer on some systems
544544# changing the values enables user to change to thier own requirements
545545ubtu22cis_aide_init :
546- async : 45 # Maximum Time in seconds
547- poll : 0 # Polling Interval in seconds
546+ # Maximum Time in seconds
547+ async : 45
548+ # Polling Interval in seconds
549+ poll : 0
548550
549551# # Control 1.3.2
550552# These are the crontab settings for periodical checking of the filesystem's integrity using AIDE.
@@ -597,7 +599,7 @@ ubtu22cis_set_boot_pass: false
597599
598600ubtu22cis_grub_file : /boot/grub/grub.cfg
599601
600- # # 1.5.x
602+ # # Controls 1.5.x
601603# Ability to set file in which the kernel systcl changes are placed
602604ubtu22cis_sysctl_kernel_conf : /etc/sysctl.d/98_cis_kernel.conf
603605
@@ -748,7 +750,7 @@ ubtu22cis_audit_back_log_limit: 8192
748750# This should be set based on your sites policy. CIS does not provide a specific value.
749751ubtu22cis_max_log_file_size : 10
750752
751- # # 4.1.3.x - Audit template
753+ # # Controls 4.1.3.x - Audit template
752754# This variable is set to true by tasks 4.1.3.1 to 4.1.3.20. As a result, the
753755# audit settings are overwritten with the role's template. In order to exclude
754756# specific rules, you must set the variable of form `ubtu22cis_rule_4_1_3_x` above
@@ -938,13 +940,33 @@ ubtu22cis_sudo_timestamp_timeout: 15
938940# CIS requires that such a group be created (named according to site policy) and be kept empty.
939941ubtu22cis_sugroup : nosugroup
940942
943+ # # Control 5.4.1
944+ # This variable allows us to use either
945+ #
946+
947+ ubtu22cis_pwquality_minclass : true
948+ ubtu22cis_pwquality_minclass_value : ' 4'
949+ ubtu22cis_pwquality :
950+ - key : ' #minclass'
951+ value : " {{ ubtu22cis_pwquality_minclass_value }}"
952+ - key : ' minlen'
953+ value : ' 14'
954+ - key : ' dcredit'
955+ value : ' -1'
956+ - key : ' ucredit'
957+ value : ' -1'
958+ - key : ' ocredit'
959+ value : ' -1'
960+ - key : ' lcredit'
961+ value : ' -1'
962+
941963# # Control 5.4.3
942964# This variable represents the number of password change cycles, after which
943965# a user can re-use a password.
944966# CIS requires a value of 5 or more.
945967ubtu22cis_pamd_pwhistory_remember : 5
946968
947- # Control 5.4.2
969+ # # Control 5.4.2
948970# This can seriously break access to a system
949971# # The end state the file /etc/pam.d/common-auth need to be understood
950972# # If using external auth providers this will be very different
@@ -955,7 +977,7 @@ ubtu22cis_rule_5_4_2_faillock_config: |
955977 auth [default=die] pam_faillock.so authfail
956978 auth sufficient pam_faillock.so authsucc
957979
958- # Control 5.4.4
980+ # # Control 5.4.4
959981# ubtu22cis_passwd_hash_algo is the hashing algorithm used
960982ubtu22cis_passwd_hash_algo : yescrypt # pragma: allowlist secret
961983# Set pam as well as login defs if PAM is required
0 commit comments