From a5df4c2f3847e5e6b3a28de26004132c14dfc4dc Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Thu, 13 Apr 2023 09:23:10 +0100 Subject: [PATCH] fix_typos Signed-off-by: Mark Bolwell --- tasks/section_6/cis_6.1.x.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tasks/section_6/cis_6.1.x.yml b/tasks/section_6/cis_6.1.x.yml index 480329a..8da977d 100644 --- a/tasks/section_6/cis_6.1.x.yml +++ b/tasks/section_6/cis_6.1.x.yml @@ -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: @@ -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: