Skip to content

Commit

Permalink
Fixed Prelim Always Tags
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Williams <[email protected]>
  • Loading branch information
MrSteve81 committed Sep 26, 2023
1 parent 491f169 commit 9214785
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/cat2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@

- name: |
"MEDIUM | WN10-AU-000005 | PATCH | The system must be configured to audit Account Logon - Credential Validation failures."
"MEDIUM | WN10-AU-000010 | PATCH | The system must be configured to audit Account Logon - Credential Validation successes."
"MEDIUM | WN10-AU-000010 | PATCH | The system must be configured to audit Account Logon - Credential Validation successes."
community.windows.win_audit_policy_system:
subcategory: Credential Validation
audit_type: "{{ (wn10_AU_000005 and not wn10_AU_000010) | ternary ('failure', '') }}{{ (wn10_AU_000010 and not wn10_AU_000005) | ternary ('success', '') }}{{ (wn10_AU_000005 and wn10_AU_000010) | ternary ('success, failure', '') }}"
Expand Down
4 changes: 4 additions & 0 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
changed_when: false
failed_when: false
register: win10_displayversion
tags:
- always

- name: "PRELIM | Get OS Build value."
ansible.windows.win_reg_stat:
Expand All @@ -47,6 +49,8 @@
changed_when: false
failed_when: false
register: win10_currentbuild
tags:
- always

- name: "PRELIM | Get Admin Users and Groups"
ansible.windows.win_shell: Get-LocalGroupMember -Name 'Administrators'
Expand Down

0 comments on commit 9214785

Please sign in to comment.