Skip to content

Commit

Permalink
Merge pull request #187 from steph409/fix_cases_in_policies
Browse files Browse the repository at this point in the history
(fix) case sensitive parameters in policies
  • Loading branch information
arjenhuitema authored May 13, 2024
2 parents aad6bf2 + 39ff7cd commit 4f60ac3
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"properties": {
"policyType": "Custom",
"mode": "All",
"displayName": "Deploy Frontdoor CDN Profile Origin Health Percentage Alert",
"displayName": "Deploy FrontDoor CDN Profile Origin Health Percentage Alert",
"description": "Policy to audit/deploy FrontDoor Origin Health Percentage Alert",
"metadata": {
"version": "1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion services/Cdn/profiles/Deploy-CDNP-OriginLatency-Alert.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "Microsoft.Authorization/policyDefinitions",
"apiVersion": "2021-06-01",
"name": "Deploy_FrontdoorCDN_OriginLatency_Alert",
"name": "Deploy_FrontDoorCDN_OriginLatency_Alert",
"properties": {
"policyType": "Custom",
"mode": "All",
Expand Down
Original file line number Diff line number Diff line change
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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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

0 comments on commit 4f60ac3

Please sign in to comment.