Skip to content

Commit

Permalink
Merge pull request #3361 from ricmestre/Dev
Browse files Browse the repository at this point in the history
IntuneAntivirusPolicyWindows10SettingCatalog: Add missing templateId to ValidateSet's
  • Loading branch information
NikCharlebois authored Jun 5, 2023
2 parents 7fb8fcd + 7f22a8a commit 4cb6b3b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log for Microsoft365DSC

# UNRELEASED

* IntuneAntivirusPolicyWindows10SettingCatalog
* Fixes an issue for policies with template endpointSecurityAntivirus that had a templateId not expected by the code
FIXES [#3360](https://github.com/microsoft/Microsoft365DSC/issues/3360)

# 1.23.524.1

* AADGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function Get-TargetResource
$highseveritythreats,

[Parameter()]
[ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')]
[ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', 'e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')]
[System.String]
$templateId,

Expand Down Expand Up @@ -766,7 +766,7 @@ function Set-TargetResource
$highseveritythreats,

[Parameter()]
[ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')]
[ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', 'e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')]
[System.String]
$templateId,

Expand Down Expand Up @@ -1192,7 +1192,7 @@ function Test-TargetResource
$highseveritythreats,

[Parameter()]
[ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')]
[ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', 'e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')]
[System.String]
$templateId,

Expand Down
Binary file not shown.

0 comments on commit 4cb6b3b

Please sign in to comment.