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

Update Var and Typo #2

Merged
merged 2 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
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: 3 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ win22stig_lengthy_search: false
# different environments. By Default This is set to false.
win22stig_cloud_based_system: false

# win2022stig_skip_secure_winrm is used in the playbook to skip over WINRM based controls that
# win_skip_for_test is used in the playbook to skip over WINRM based controls that
# may cause WINRM Basic Connection Type to be disabled.
# Setting win2022stig_skip_secure_winrm to 'false' will enable Secure Connection types only.
# Setting win_skip_for_test to 'false' will enable Secure Connection types only.
# WINRM Controls that will be skipped:
# WN22-CC-000470 - CAT1
# WN22-CC-000500 - CAT1
# WN22-CC-000480 - CAT2
# WN22-CC-000510 - CAT2
# WN22-CC-000520 - CAT2
win2022stig_skip_secure_winrm: false
win_skip_for_test: false

# CAT 1 rules
wn22_00_000030: true
Expand Down
6 changes: 3 additions & 3 deletions tasks/cat1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
datatype: dword
when:
- wn22_cc_000470
- not win2022stig_skip_secure_winrm
- not win_skip_for_test
tags:
- WN22-CC-000470
- CAT1
Expand All @@ -158,7 +158,7 @@
datatype: dword
when:
- wn22_cc_000500
- not win2022stig_skip_secure_winrm
- not win_skip_for_test
tags:
- WN22-CC-000500
- CAT1
Expand All @@ -179,7 +179,7 @@
- name: "HIGH | WN22-DC-000010 | AUDIT | Windows Server 2022 must only allow administrators responsible for the domain controller to have Administrator rights on the system."
ansible.builtin.debug:
msg:
- "Alert! Below are the users in the administrators group. Please review and confirm all users should be in this group"
- "Alert! Below are the users in the Administrators group. Please review and confirm all users should be in this group"
- "{{ wn22_dc_000010_admin_usrs.stdout_lines }}"

- name: "HIGH | WN22-DC-000010 | AUDIT | Windows Server 2022 must only allow administrators responsible for the domain controller to have Administrator rights on the system. | Warn Count."
Expand Down
6 changes: 3 additions & 3 deletions tasks/cat2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3222,7 +3222,7 @@
datatype: dword
when:
- wn22_cc_000480
- not win2022stig_skip_secure_winrm
- not win_skip_for_test
tags:
- WN22-CC-000480
- CAT2
Expand Down Expand Up @@ -3257,7 +3257,7 @@
datatype: dword
when:
- wn22_cc_000510
- not win2022stig_skip_secure_winrm
- not win_skip_for_test
tags:
- WN22-CC-000510
- CAT2
Expand All @@ -3276,7 +3276,7 @@
datatype: dword
when:
- wn22_cc_000520
- not win2022stig_skip_secure_winrm
- not win_skip_for_test
tags:
- WN22-CC-000520
- CAT2
Expand Down