Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update useCommonSchema to useCommonAlertSchema in Deploy_ServiceHealth_ActionGroups and Deploy_Suppression_AlertProcessing_Rule Policy Definitions #346

Merged
merged 4 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-Automation.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "3220074555185136320"
"version": "0.30.3.12046",
"templateHash": "1581199217527632385"
}
},
"parameters": {
Expand Down
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-Compute.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "7212493230979649519"
"version": "0.30.3.12046",
"templateHash": "11699322029906493442"
}
},
"parameters": {
Expand Down
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-Hybrid.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "16468692433239637076"
"version": "0.30.3.12046",
"templateHash": "309971964486849721"
}
},
"parameters": {
Expand Down
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-KeyManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "5082594690509693311"
"version": "0.30.3.12046",
"templateHash": "17196952384352129276"
}
},
"parameters": {
Expand Down
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-Monitoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "15633981339092932393"
"version": "0.30.3.12046",
"templateHash": "6887428476819981363"
}
},
"parameters": {
Expand Down
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-Network.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "16712450722818524666"
"version": "0.30.3.12046",
"templateHash": "9948876224943265263"
}
},
"parameters": {
Expand Down

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-RecoveryServices.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "1318147395456265355"
"version": "0.30.3.12046",
"templateHash": "5004184476140419888"
}
},
"parameters": {
Expand Down
6 changes: 3 additions & 3 deletions patterns/alz/policyDefinitions/policies-ServiceHealth.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policies-Storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "6488828852570161518"
"version": "0.30.3.12046",
"templateHash": "7265478064975624683"
}
},
"parameters": {
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 @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "6170361127055992686"
"version": "0.30.3.12046",
"templateHash": "757605835478810583"
}
},
"parameters": {
Expand Down
4 changes: 2 additions & 2 deletions patterns/alz/policyDefinitions/policySets.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "810152883234755352"
"version": "0.30.3.12046",
"templateHash": "17544409125434502277"
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy AMBA Notification Assets",
"description": "Policy to deploy Action Group and Alert Processing Rule for all AMBA alerts",
"metadata": {
"version": "1.3.0",
"version": "1.4.0",
"category": "Monitoring",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -235,7 +235,7 @@
"name": "AlzLA-0",
"resourceId": "[[if(empty(parameters('ALZLogicappResourceId')), null(), trim(parameters('ALZLogicappResourceId')))]",
"callbackUrl": "[[if(empty(parameters('ALZLogicappCallbackUrl')), null(), trim(parameters('ALZLogicappCallbackUrl')))]",
"useCommonSchema": true
"useCommonAlertSchema": true
}
],
"varAzureFunctionReceivers": [
Expand All @@ -255,7 +255,7 @@
"input": {
"name": "[[concat('AlzMail-', indexOf(parameters('ALZMonitorActionGroupEmail'), parameters('ALZMonitorActionGroupEmail')[copyIndex('varEmailReceivers')]))]",
"emailAddress": "[[trim(parameters('ALZMonitorActionGroupEmail')[copyIndex('varEmailReceivers')])]",
"useCommonSchema": true
"useCommonAlertSchema": true
}
},
{
Expand All @@ -265,7 +265,7 @@
"input": {
"name": "[[concat('AlzARM-', indexOf(parameters('ALZArmRoleId'), parameters('ALZArmRoleId')[copyIndex('varArmRoleReceivers')]))]",
"roleId": "[[trim(parameters('ALZArmRoleId')[copyIndex('varArmRoleReceivers')])]",
"useCommonSchema": true
"useCommonAlertSchema": true
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Service Health Action Group",
"description": "Policy to deploy action group for Service Health alerts",
"metadata": {
"version": "1.3.0",
"version": "1.4.0",
"category": "Monitoring",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -238,7 +238,7 @@
"name": "AlzLA-0",
"resourceId": "[[if(empty(parameters('ALZLogicappResourceId')), null(), trim(parameters('ALZLogicappResourceId')))]",
"callbackUrl": "[[if(empty(parameters('ALZLogicappCallbackUrl')), null(), trim(parameters('ALZLogicappCallbackUrl')))]",
"useCommonSchema": true
"useCommonAlertSchema": true
}
],
"varAzureFunctionReceivers": [
Expand All @@ -258,7 +258,7 @@
"input": {
"name": "[[concat('AlzMail-', indexOf(parameters('ALZMonitorActionGroupEmail'), parameters('ALZMonitorActionGroupEmail')[copyIndex('varEmailReceivers')]))]",
"emailAddress": "[[trim(parameters('ALZMonitorActionGroupEmail')[copyIndex('varEmailReceivers')])]",
"useCommonSchema": true
"useCommonAlertSchema": true
}
},
{
Expand All @@ -268,7 +268,7 @@
"input": {
"name": "[[concat('AlzARM-', indexOf(parameters('ALZArmRoleId'), parameters('ALZArmRoleId')[copyIndex('varArmRoleReceivers')]))]",
"roleId": "[[trim(parameters('ALZArmRoleId')[copyIndex('varArmRoleReceivers')])]",
"useCommonSchema": true
"useCommonAlertSchema": true
}
},
{
Expand Down