Skip to content

Commit

Permalink
Merge pull request #87 from jouve/cjo/skipped
Browse files Browse the repository at this point in the history
manage skipped result
  • Loading branch information
uk-bolly authored Sep 10, 2024
2 parents 8bcbcba + 172edcb commit fae82e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/section_6/cis_6.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@

- name: "6.1.11 | AUDIT | Ensure no unowned or ungrouped files or directories exist | Displaying any unowned files or directories"
ansible.builtin.debug:
msg: "Warning!! Missing owner on items in {{ amzn2023cis_6_1_11_audit.results | map(attribute='stdout_lines') | flatten }}" # noqa jinja[invalid]
msg: "Warning!! Missing owner on items in {{ amzn2023cis_6_1_11_audit.results | map(attribute='stdout_lines', default=[]) | flatten }}" # noqa jinja[invalid]
when: amzn2023cis_6_1_11_unowned_files_found

- name: "6.1.11 | AUDIT | Ensure no unowned or ungrouped files or directories exist | Finding all ungrouped files or directories"
Expand All @@ -261,7 +261,7 @@

- name: "6.1.11 | AUDIT | Ensure no unowned or ungrouped files or directories exist | Displaying all ungrouped files or directories"
ansible.builtin.debug:
msg: "Warning!! Missing group on items in {{ amzn2023cis_6_1_11_audit.results | map(attribute='stdout_lines') | flatten }}" # noqa jinja[invalid]
msg: "Warning!! Missing group on items in {{ amzn2023cis_6_1_11_audit.results | map(attribute='stdout_lines', default=[]) | flatten }}" # noqa jinja[invalid]
when: amzn2023cis_6_1_11_ungrouped_files_found

- name: "6.1.11 | AUDIT | Ensure no unowned or ungrouped files or directories exist | warning"
Expand Down

0 comments on commit fae82e0

Please sign in to comment.