diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c3b8bd..5c5fcce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,13 @@ and this module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0. ### Changed +## [4.0.3] + +### Fixed + +- fixed mapping of update classifications +- + ## [4.0.2] ### Fixed diff --git a/policy_definitions/update_management/policy_definition_qby_deploy_updates.json b/policy_definitions/update_management/policy_definition_qby_deploy_updates.json index 2bb5c77..caff04c 100644 --- a/policy_definitions/update_management/policy_definition_qby_deploy_updates.json +++ b/policy_definitions/update_management/policy_definition_qby_deploy_updates.json @@ -310,7 +310,7 @@ "recurEvery": "[concat(variables('splitSeverityGroup')[0], 'Month', ' ', variables('splitSeverityGroup')[1],' ', variables('splitSeverityGroup')[2])]", "startTime": "[concat(substring(variables('splitSeverityGroup')[3], 0, 2), ':', substring(variables('splitSeverityGroup')[3], 2, 2) )]", "startDateTime": "[concat(parameters('startDate'), ' ', variables('startTime'))]", - "updateClassification": "[map(range(0, sub(length(replace(variables('splitSeverityGroup')[4],'X', '')), 1 )), lambda('i', variables('updateOptions')[substring(replace(variables('splitSeverityGroup')[4],'X',''), lambdaVariables('i'),1 )] )) ]", + "updateClassification": "[map(range(0,length(replace(variables('splitSeverityGroup')[4],'X', ''))), lambda('i', variables('updateOptions')[substring(replace(variables('splitSeverityGroup')[4],'X',''), lambdaVariables('i'),1 )] )) ] ", "rebootSetting": "[variables('rebootOptions')[variables('splitSeverityGroup')[5]]]", "uniqueDeploymentName": "[concat('NestedDeploymentName-', uniqueString(deployment().name))]", "scope": "[concat('Microsoft.Compute/virtualMachines', '/', parameters('vmName'))]",