Skip to content

Commit

Permalink
Merge pull request #238 from steph409/main
Browse files Browse the repository at this point in the history
feat: fix casing in policies
  • Loading branch information
arjenhuitema authored Jun 12, 2024
2 parents a5ceaab + 34ecae9 commit 42de96a
Show file tree
Hide file tree
Showing 21 changed files with 81 additions and 81 deletions.
38 changes: 19 additions & 19 deletions patterns/alz/policyDefinitions/policies.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"displayName": "Deploy Azure Monitor Baseline Alerts for Landing Zone",
"description": "Initiative to deploy AMBA alerts relevant to the ALZ LandingZone management group",
"metadata": {
"version": "1.0.5",
"version": "1.0.6",
"category": "Monitoring",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -5365,7 +5365,7 @@
},
{
"policyDefinitionReferenceId": "ALZ_CDNPPercentage4XX",
"policyDefinitionId": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Authorization/policyDefinitions/Deploy_FrontdoorCDN_Percentage4XX_Alert",
"policyDefinitionId": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Authorization/policyDefinitions/Deploy_FrontDoorCDN_Percentage4XX_Alert",
"parameters": {
"severity": {
"value": "[[parameters('CDNPPercentage4XXAlertSeverity')]"
Expand All @@ -5386,7 +5386,7 @@
},
{
"policyDefinitionReferenceId": "ALZ_CDNPPercentage5XX",
"policyDefinitionId": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Authorization/policyDefinitions/Deploy_FrontdoorCDN_Percentage5XX_Alert",
"policyDefinitionId": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Authorization/policyDefinitions/Deploy_FrontDoorCDN_Percentage5XX_Alert",
"parameters": {
"severity": {
"value": "[[parameters('CDNPPercentage5XXAlertSeverity')]"
Expand Down
6 changes: 3 additions & 3 deletions services/Cdn/profiles/Deploy-CDNP-OriginLatency-Alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"properties": {
"policyType": "Custom",
"mode": "All",
"displayName": "Deploy Frontdoor CDN Profile Origin Latency Alert",
"description": "Policy to audit/deploy Frontdoor CDN Profile Origin Latency Alert",
"displayName": "Deploy FrontDoor CDN Profile Origin Latency Alert",
"description": "Policy to audit/deploy FrontDoor CDN Profile Origin Latency Alert",
"metadata": {
"version": "1.1.0",
"version": "1.1.1",
"category": "Networking",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down
8 changes: 4 additions & 4 deletions services/Cdn/profiles/Deploy-CDNP-Percentage4XX-Alert.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"type": "Microsoft.Authorization/policyDefinitions",
"apiVersion": "2021-06-01",
"name": "Deploy_FrontdoorCDN_Percentage4XX_Alert",
"name": "Deploy_FrontDoorCDN_Percentage4XX_Alert",
"properties": {
"policyType": "Custom",
"mode": "All",
"displayName": "Deploy Frontdoor CDN Profile Percentage4XX Alert",
"description": "Policy to audit/deploy Frontdoor CDN Profile Percentage4XX Alert",
"displayName": "Deploy FrontDoor CDN Profile Percentage4XX Alert",
"description": "Policy to audit/deploy FrontDoor CDN Profile Percentage4XX Alert",
"metadata": {
"version": "1.1.0",
"version": "1.1.1",
"category": "Networking",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down
8 changes: 4 additions & 4 deletions services/Cdn/profiles/Deploy-CDNP-Percentage5XX-Alert.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"type": "Microsoft.Authorization/policyDefinitions",
"apiVersion": "2021-06-01",
"name": "Deploy_FrontdoorCDN_Percentage5XX_Alert",
"name": "Deploy_FrontDoorCDN_Percentage5XX_Alert",
"properties": {
"policyType": "Custom",
"mode": "All",
"displayName": "Deploy Frontdoor CDN Profile Percentage5XX Alert",
"description": "Policy to audit/deploy Frontdoor CDN Profile Percentage5XX Alert",
"displayName": "Deploy FrontDoor CDN Profile Percentage5XX Alert",
"description": "Policy to audit/deploy FrontDoor CDN Profile Percentage5XX Alert",
"metadata": {
"version": "1.1.0",
"version": "1.1.1",
"category": "Networking",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM Data Disk Read Latency Alert",
"description": "Policy to audit/deploy VM dataDiskReadLatency Alert",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "GreaterThan"
"defaultValue": "GreaterThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM Data Disk Space Alert",
"description": "Policy to audit/deploy VM data Disk Space Alert",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "LessThan"
"defaultValue": "LessThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM Data Disk Write Latency Alert",
"description": "Policy to audit/deploy VM dataDiskWriteLatency Alert",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "GreaterThan"
"defaultValue": "GreaterThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM HeartBeat Alert",
"description": "Policy to audit/deploy VM HeartBeat Alert for all VMs in the subscription",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "GreaterThan"
"defaultValue": "GreaterThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM HeartBeat Alert",
"description": "Policy to audit/deploy VM HeartBeat Alert for VMs in the resource group",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -37,14 +37,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "GreaterThan"
"defaultValue": "GreaterThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -58,7 +58,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM Network Read Alert",
"description": "Policy to audit/deploy VM Nework Read Alert",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "GreaterThan"
"defaultValue": "GreaterThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM Network Write Alert",
"description": "Policy to audit/deploy VM Network Out Alert",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "GreaterThan"
"defaultValue": "GreaterThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM OS Disk Read Latency Alert",
"description": "Policy to audit/deploy VM OSDiskreadLatency Alert",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "GreaterThan"
"defaultValue": "GreaterThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"displayName": "Deploy Hybrid VM OS Disk Space Alert",
"description": "Policy to audit/deploy VM OSDiskSpace Alert",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "Hybrid Compute",
"source": "https://github.com/Azure/azure-monitor-baseline-alerts/",
"alzCloudEnvironments": [
Expand Down Expand Up @@ -63,14 +63,14 @@
"metadata": {
"displayName": "Operator"
},
"allowedvalues": [
"allowedValues": [
"Equals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"defaultvalue": "LessThan"
"defaultValue": "LessThan"
},
"timeAggregation": {
"type": "String",
Expand All @@ -84,7 +84,7 @@
"Minimum",
"Total"
],
"defaultvalue": "Average"
"defaultValue": "Average"
},
"windowSize": {
"type": "String",
Expand Down
Loading

0 comments on commit 42de96a

Please sign in to comment.