You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Issue
A task from the block that implements Control 5.2.4 does not get executed because of multiple failures.
Expected Behavior
The task should have been executed.
Actual Behavior
The second task in the block fails firstly, because the register used in the conditional for the execution of the task has only attribute .stdout not .std: discovered_sudo_nopasswd.std | length > 0
After fixing this, the task fails a second time with: variable deb12cis_sudoers_exclude_nopasswd_list undefined. Indeed, the variable responsible for this is not present in the variables file.
After adding the variable, the task will get executed!
Control(s) Affected
Control 5.2.4
Environment (please complete the following information):
branch being used: [e.g. devel]
Additional Notes
Anything additional goes here
Possible Solution
The solution will be provided in a PR.
The text was updated successfully, but these errors were encountered:
Describe the Issue
A task from the block that implements Control 5.2.4 does not get executed because of multiple failures.
Expected Behavior
The task should have been executed.
Actual Behavior
The second task in the block fails firstly, because the register used in the conditional for the execution of the task has only attribute
.stdout
not.std
:discovered_sudo_nopasswd.std | length > 0
After fixing this, the task fails a second time with:
variable deb12cis_sudoers_exclude_nopasswd_list undefined
. Indeed, the variable responsible for this is not present in the variables file.After adding the variable, the task will get executed!
Control(s) Affected
Environment (please complete the following information):
Additional Notes
Anything additional goes here
Possible Solution
The solution will be provided in a PR.
The text was updated successfully, but these errors were encountered: