Skip to content

Commit

Permalink
Merge pull request #43 from siemens/siemens/feat/fixing_prelim_find_a…
Browse files Browse the repository at this point in the history
…ll_sudoers_files

Fixing issue #42
  • Loading branch information
uk-bolly authored Feb 22, 2024
2 parents 95c7f19 + 9ee76ca commit 1c3bc34
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 1c3bc34

Please sign in to comment.