Skip to content

Commit

Permalink
fix_typos
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Apr 13, 2023
1 parent 120a0ea commit a5df4c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tasks/section_6/cis_6.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,22 +256,22 @@

- name: "6.1.13 | AUDIT | Audit SUID executables | set fact SUID executables"
ansible.builtin.set_fact:
rhel8cis_6_1_13_suid_found: true
rhel9_6_1_13_suid_found: true
loop: "{{ rhel_09_6_1_13_suid_perms.results }}"
when: item.stdout | length > 0

- name: "6.1.13 | AUDIT | Audit SUID executables | Alert SUID executables exist"
ansible.builtin.debug:
msg: "Warning!! SUID set on items in {{ rhel_09_6_1_13_suid_perms | json_query('results[*].stdout_lines[*]') | flatten }}"
when: rhel8cis_6_1_13_suid_found
when: rhel9_6_1_13_suid_found

- name: "6.1.13 | AUDIT | Audit SUID executables | Alert SUID executables exist | warning"
ansible.builtin.import_tasks: warning_facts.yml
vars:
warn_control_id: '6.1.13'
when: rhel8cis_6_1_13_suid_found
when: rhel9_6_1_13_suid_found
vars:
rhel8cis_6_1_13_suid_found: false
rhel9_6_1_13_suid_found: false
when:
- rhel9cis_rule_6_1_13
tags:
Expand All @@ -295,22 +295,22 @@

- name: "6.1.14 | AUDIT | Audit SGID executables | Set fact SGID executables"
ansible.builtin.set_fact:
rhel8cis_6_1_14_sgid_found: true
rhel9_6_1_14_sgid_found: true
loop: "{{ rhel_09_6_1_14_sgid_perms.results }}"
when: item.stdout | length > 0

- name: "6.1.14 | AUDIT | Audit SGID executables | Alert SGID executables exist"
ansible.builtin.debug:
msg: "Warning!! SGID set on items in {{ rhel_09_6_1_14_sgid_perms | json_query('results[*].stdout_lines[*]') | flatten }}"
when: rhel8cis_6_1_14_sgid_found
when: rhel9_6_1_14_sgid_found

- name: "6.1.14 | AUDIT | Audit SGID executables| warning"
ansible.builtin.import_tasks: warning_facts.yml
vars:
warn_control_id: '6.1.14'
when: rhel8cis_6_1_14_sgid_found
when: rhel9_6_1_14_sgid_found
vars:
rhel8cis_6_1_14_sgid_found: false
rhel9_6_1_14_sgid_found: false
when:
- rhel9cis_rule_6_1_14
tags:
Expand Down

0 comments on commit a5df4c2

Please sign in to comment.