Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue https://github.com/ansible-lockdown/AMAZON2023-CIS/issues/42 #43

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading