Closed sgomez86 closed 2 months ago
@sgomez86 thanks for the bug report. I believe I looked at a similar issue yesterday we will discuss in the coming days about this and should have a answer soon.
hi @sgomez86
This Issue has been merged to devel and into main branch. I will therefore close this issue. Please feel free to reopen if you feel its not as expected.
Many thanks again for your time
uk-bolly
Describe the Issue When rules rhel9cis_rule_4_1_4_5, rhel9cis_rule_4_1_4_6 and rhel9cis_rule_4_1_4_6 are set to false, the role will on file cis_4.1.4.x.yml section 4.1.4.5 because the variable auditd_conf_files is not defined but is used for the loop.
Expected Behavior Those sections are skipped
Actual Behavior role fails because one variable used on the when is not defined.
Control(s) Affected What controls are being affected by the issue
Environment (please complete the following information):
Additional Notes Anything additional goes here
Possible Solution Include a block section that wraps tasks 4.1.4.5, 4.1.4.6 and 4.1.4.7