forked from ansible-lockdown/RHEL9-CIS
fix_typos
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
120a0ea751
commit
a5df4c2f38
1 changed files with 8 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue