Skip to content

Commit

Permalink
Merge pull request #49 from siemens/siemens/feat/minor_syntax_fixes
Browse files Browse the repository at this point in the history
Fixing issue #48
  • Loading branch information
uk-bolly authored Feb 22, 2024
2 parents c9ce3e1 + 5593023 commit 27f69f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tasks/section_1/cis_1.3.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
- rule_1.3.2
- nist_sp800-53r5_AU-2

- name: "1.3.3 | Ensure cryptographic mechanisms are used to protect the integrity of audit tools"
- name: "1.3.3 | PATCH | Ensure cryptographic mechanisms are used to protect the integrity of audit tools"
ansible.builtin.blockinfile:
path: /etc/aide.conf
marker: "# {mark} Audit tools - CIS benchmark - Ansible-lockdown"
Expand Down
2 changes: 1 addition & 1 deletion tasks/section_4/cis_4.2.x.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

- name: "4.2.1 | Ensure permissions on /etc/ssh/sshd_config are configured"
- name: "4.2.1 | PATCH | Ensure permissions on /etc/ssh/sshd_config are configured"
ansible.builtin.file:
path: "/etc/ssh/sshd_config"
owner: root
Expand Down
2 changes: 1 addition & 1 deletion tasks/section_4/cis_4.6.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- name: "4.6.2 | PATCH | Ensure system accounts are secured"
block:
- name: "4.6.2 | Ensure system accounts are secured | Set nologin"
- name: "4.6.2 | PATCH | Ensure system accounts are secured | Set nologin"
ansible.builtin.user:
name: "{{ item.id }}"
shell: /usr/sbin/nologin
Expand Down
2 changes: 1 addition & 1 deletion tasks/section_6/cis_6.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
- nist_sp800-53r5_CM-7
- nist_sp800-53r5_IA-5

- name: "6.2.4 | AUDIT Ensure no duplicate UIDs exist"
- name: "6.2.4 | AUDIT | Ensure no duplicate UIDs exist"
block:
- name: "6.2.4 | AUDIT | Ensure no duplicate UIDs exist | Check for duplicate UIDs"
ansible.builtin.shell: "pwck -r | awk -F: '{if ($3 in uid) print $1 ; else uid[$3]}' /etc/passwd"
Expand Down

0 comments on commit 27f69f8

Please sign in to comment.