Error running controls 6.1.10 and 6.1.11 due to missing attribute stdout_lines
#249
Labels
bug
Something isn't working
stdout_lines
#249
Describe the Issue
Error message when running controls 6.1.10 and 6.1.11:
Certain mounts were skipped because they did not meet the required conditions (eg. contains
bind
), resulting in the absence of thestdout_lines
attribute.Expected Behavior
Controls should not error out when mounts do not meet the required conditions.
Actual Behavior
The playbook failed at this control with the error and stopped running the rest of the controls.
Control(s) Affected
6.1.10 and 6.1.11
Environment (please complete the following information):
Possible Solution
Add a
selectattr
filter to select only items from the results object where thestdout_lines
attribute is defined.The text was updated successfully, but these errors were encountered: