Skip to content

Commit

Permalink
Fix 18.9.7.2
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Williams <[email protected]>
  • Loading branch information
MrSteve81 committed Mar 15, 2024
1 parent 98e2243 commit d791eb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ win19cis_rule_18_9_5_4: true
win19cis_rule_18_9_5_5: true
win19cis_rule_18_9_5_6: true
win19cis_rule_18_9_5_7: true
win19cis_rule_18_8_7_2: true
win19cis_rule_18_9_7_2: true
win19cis_rule_18_9_13_1: true
win19cis_rule_18_9_19_2: true
win19cis_rule_18_9_19_3: true
Expand Down
6 changes: 3 additions & 3 deletions tasks/section18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1226,18 +1226,18 @@
- patch
- vbs

- name: "18.8.7.2 | PATCH | Ensure Prevent device metadata retrieval from the Internet is set to Enabled"
- name: "18.9.7.2 | PATCH | Ensure Prevent device metadata retrieval from the Internet is set to Enabled"
ansible.windows.win_regedit:
path: HKLM:\SOFTWARE\Policies\Microsoft\Windows\Device Metadata
name: PreventDeviceMetadataFromNetwork
data: 1
type: dword
when:
- win19cis_rule_18_8_7_2
- win19cis_rule_18_9_7_2
tags:
- level1-domaincontroller
- level1-memberserver
- rule_18.8.7.2
- rule_18.9.7.2
- patch
- metadata

Expand Down

0 comments on commit d791eb2

Please sign in to comment.