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

Adjusting rule-id value in subtasks-name within the task-block for rule 4.2.1.2 #88

Closed
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
4 changes: 2 additions & 2 deletions tasks/section_4/cis_4.2.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
failed_when: false
register: ubtu22cis_4_2_1_2_status

- name: "4.2.2.2 | AUDIT | Ensure journald service is enabled | Alert on bad status"
- name: "4.2.1.2 | AUDIT | Ensure journald service is enabled | Alert on bad status"
ansible.builtin.debug:
msg:
- "Warning!! The status of systemd-journald should be static and it is not. Please investigate"
when: "'static' not in ubtu22cis_4_2_1_2_status.stdout"

- name: "4.2.2.2 | AUDIT | Ensure journald service is enabled | Warn Count"
- name: "4.2.1.2 | AUDIT | Ensure journald service is enabled | Warn Count"
ansible.builtin.import_tasks: warning_facts.yml
when: "'static' not in ubtu22cis_4_2_1_2_status.stdout"
vars:
Expand Down