Skip to content

Commit

Permalink
Fixing PRELIM task "PRELIM | 4.3.3 | Find all sudoers files" mentione…
Browse files Browse the repository at this point in the history
  • Loading branch information
DianaMariaDDM committed Feb 15, 2024
1 parent 75ea3ec commit 9ee76ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,17 +234,15 @@
- authconfig
- auditd

- name: "PRELIM | 4.3.3 | Find all sudoers files."
- name: "PRELIM | 4.3.4 | Find all sudoers files."
ansible.builtin.shell: "find /etc/sudoers /etc/sudoers.d/ -type f ! -name '*~' ! -name '*.*'"
changed_when: false
failed_when: false
check_mode: false
register: amzn2023cis_sudoers_files
when:
- amzn2023cis_rule_4_3_3 or
amzn2023cis_rule_4_3_4
- amzn2023cis_rule_4_3_4
tags:
- rule_4.3.3
- rule_4.3.4
- sudo
- patch
Expand Down

0 comments on commit 9ee76ca

Please sign in to comment.