Skip to content

Commit

Permalink
Fixing policy json files
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunoga-MS committed Feb 22, 2025
1 parent 907af99 commit 117235c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions-pester/Test-ModifiedPolicies.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Describe 'UnitTest-ModifiedPolicies' {
if ($key -notin $ExcludeParams) {
$defaultValue = $PolicyParameters.$key | Get-Member -MemberType NoteProperty | Where-Object Name -EQ "defaultValue"
# Write-Warning "$($PolicyFile) - Parameter: $($key) - Default Value: $($defaultValue)"
$PolicyParameters.$key.defaultValue | Should -Not -Because "the [defaultValue] for parameter [$key] is empty."
$PolicyParameters.$key.defaultValue | Should -Not -Because "the [defaultValue] for parameter [$key] is empty."
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-Web.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.33.13.18514",
"templateHash": "6384246024161205018"
"templateHash": "10005747063104819358"
}
},
"parameters": {
Expand Down Expand Up @@ -129,7 +129,7 @@
"displayName": "Deploy Azure Monitor Baseline Alerts for Web",
"description": "This initiative deploys Azure Monitor Baseline Alerts to monitor Web Services such as App Services.",
"metadata": {
"version": "1.2.0",
"version": "1.3.0",
"category": "Monitoring",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down
2 changes: 1 addition & 1 deletion patterns/alz/policySetDefinitions/Deploy-Web-Alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"displayName": "Deploy Azure Monitor Baseline Alerts for Web",
"description": "This initiative deploys Azure Monitor Baseline Alerts to monitor Web Services such as App Services.",
"metadata": {
"version": "1.2.0",
"version": "1.3.0",
"category": "Monitoring",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down

0 comments on commit 117235c

Please sign in to comment.