Skip to content

Commit

Permalink
fix different data type name
Browse files Browse the repository at this point in the history
  • Loading branch information
Elena Arganova committed Dec 12, 2024
1 parent a8609a8 commit b2348c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@ Configuration Example
DeviceSettings = MSFT_MicrosoftGraphIntuneSettingsCatalogDeviceSettings_IntuneSecurityBaselineWindows10
{
Pol_MSS_DisableIPSourceRoutingIPv6 = '1'
DisableIPSourceRoutingIPv6 = '0'
DisableIPSourceRoutingIPv6 = '0'
BlockExecutionOfPotentiallyObfuscatedScripts = 'block'
HardenedUNCPaths_Pol_HardenedPaths = '1'
pol_hardenedPaths = @(
MSFT_MicrosoftGraphIntuneSettingsCatalogpol_hardenedpaths{
Key = '\\*\SYSVOL'
Value = 'RequireMutualAuthentication=1,RequireIntegrity=1'
}
)
AttackSurfaceReductionRules = MSFT_MicrosoftGraphIntuneSettingsCatalogAttackSurfaceReductionRules{
BlockExecutionOfPotentiallyObfuscatedScripts = 'block'
}
}
UserSettings = MSFT_MicrosoftGraphIntuneSettingsCatalogUserSettings_IntuneSecurityBaselineWindows10
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@ Configuration Example
DeviceSettings = MSFT_MicrosoftGraphIntuneSettingsCatalogDeviceSettings_IntuneSecurityBaselineWindows10
{
Pol_MSS_DisableIPSourceRoutingIPv6 = '1'
DisableIPSourceRoutingIPv6 = '0'
DisableIPSourceRoutingIPv6 = '0'
BlockExecutionOfPotentiallyObfuscatedScripts = 'block'
HardenedUNCPaths_Pol_HardenedPaths = '1'
pol_hardenedPaths = @(
MSFT_MicrosoftGraphIntuneSettingsCatalogpol_hardenedpaths{
Key = '\\*\SYSVOL'
Value = 'RequireMutualAuthentication=1,RequireIntegrity=1'
}
)
AttackSurfaceReductionRules = MSFT_MicrosoftGraphIntuneSettingsCatalogAttackSurfaceReductionRules{
BlockExecutionOfPotentiallyObfuscatedScripts = 'block'
}
}
UserSettings = MSFT_MicrosoftGraphIntuneSettingsCatalogUserSettings_IntuneSecurityBaselineWindows10
{
Expand Down
4 changes: 4 additions & 0 deletions Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -2032,6 +2032,10 @@ function Get-IntuneSettingCatalogPolicySettingInstanceValue
{
$childSettingValue.Add('settingInstanceTemplateReference', @{'settingInstanceTemplateId' = $childSettingInstanceTemplate.settingInstanceTemplateId })
}
if ($childSettingType -eq '#microsoft.graph.deviceManagementConfigurationSettingGroupCollectionInstance')
{
$childSettingType = '#microsoft.graph.deviceManagementConfigurationGroupSettingCollectionInstance'
}
$childSettingValue.Add('@odata.type', $childSettingType)
$choiceSettingValueChildren += $childSettingValue
}
Expand Down

0 comments on commit b2348c3

Please sign in to comment.