-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Linter warnings & build errors (#354)
* Fixed BCP321 Linter warning in networking files * Fixed Role Definition Id References to use the ResourceId function * changed the pOlicyScopedId var to be set by using the MGResourceID Function * fixed BCP321 warning * fixed the remaining linter warnings * fixed the remaining linter errors in the policy definitions * updated the linter rules * Fixed Bug on policy defnition * Fixed the AKS policy deployment * Commit 95556ddd: changed the extensionResourceId function to tenantResourceId for all built-in polify definitions * fixed linter warnings in policy files * changed the invalid dummy service alert phone number to a valid phone number * changed the servcie health number prefix to 604 * updated AKS version in the Data Archetypes * Changed hte AKS version to only have the Major.Minor * Added the patch version to the AKS versions in the Data Archetypes
- Loading branch information
Showing
118 changed files
with
482 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "ALZ action group", | ||
"actionGroupShortName": "alz-alert", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,94 @@ | ||
{ | ||
"analyzers": { | ||
"core": { | ||
"verbose": false, | ||
"enabled": true, | ||
"rules": { | ||
"adminusername-should-not-be-literal": { | ||
"level": "error" | ||
}, | ||
"no-hardcoded-env-urls": { | ||
"level": "error" | ||
}, | ||
"no-unnecessary-dependson": { | ||
"level": "error" | ||
}, | ||
"no-unused-params": { | ||
"level": "error" | ||
}, | ||
"no-unused-vars": { | ||
"level": "error" | ||
}, | ||
"prefer-interpolation": { | ||
"level": "error" | ||
}, | ||
"secure-parameter-default": { | ||
"level": "error" | ||
}, | ||
"simplify-interpolation": { | ||
"level": "error" | ||
}, | ||
"no-loc-expr-outside-params": { | ||
"level": "error" | ||
}, | ||
"explicit-values-for-loc-params": { | ||
"level": "error" | ||
} | ||
"verbose": false, | ||
"enabled": true, | ||
"rules": { | ||
"adminusername-should-not-be-literal": { | ||
"level": "error" | ||
}, | ||
"artifacts-parameters": { | ||
"level": "warning" | ||
}, | ||
"decompiler-cleanup": { | ||
"level": "warning" | ||
}, | ||
"explicit-values-for-loc-params": { | ||
"level": "error" | ||
}, | ||
"max-outputs": { | ||
"level": "warning" | ||
}, | ||
"max-params": { | ||
"level": "warning" | ||
}, | ||
"max-resources": { | ||
"level": "warning" | ||
}, | ||
"max-variables": { | ||
"level": "warning" | ||
}, | ||
"no-hardcoded-env-urls": { | ||
"level": "warning" | ||
}, | ||
"no-hardcoded-location": { | ||
"level": "error" | ||
}, | ||
"no-loc-expr-outside-params": { | ||
"level": "error" | ||
}, | ||
"no-unnecessary-dependson": { | ||
"level": "error" | ||
}, | ||
"no-unused-existing-resources": { | ||
"level": "warning" | ||
}, | ||
"no-unused-params": { | ||
"level": "error" | ||
}, | ||
"no-unused-vars": { | ||
"level": "error" | ||
}, | ||
"outputs-should-not-contain-secrets": { | ||
"level": "warning" | ||
}, | ||
"prefer-interpolation": { | ||
"level": "error" | ||
}, | ||
"prefer-unquoted-property-names": { | ||
"level": "warning" | ||
}, | ||
"protect-commandtoexecute-secrets": { | ||
"level": "warning" | ||
}, | ||
"secure-parameter-default": { | ||
"level": "error" | ||
}, | ||
"secure-params-in-nested-deploy": { | ||
"level": "warning" | ||
}, | ||
"secure-secrets-in-params": { | ||
"level": "warning" | ||
}, | ||
"simplify-interpolation": { | ||
"level": "error" | ||
}, | ||
"use-parent-property": { | ||
"level": "warning" | ||
}, | ||
"use-recent-api-versions": { | ||
"level": "off" | ||
}, | ||
"use-resource-id-functions": { | ||
"level": "warning" | ||
}, | ||
"use-stable-resource-identifiers": { | ||
"level": "warning" | ||
}, | ||
"use-stable-vm-image": { | ||
"level": "warning" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -22,7 +22,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -22,7 +22,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -22,7 +22,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -25,7 +25,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -22,7 +22,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -22,7 +22,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
@@ -82,7 +82,7 @@ | |
}, | ||
"aks": { | ||
"value": { | ||
"version": "1.22.6", | ||
"version": "1.25.5", | ||
"enabled": true, | ||
"networkPlugin": "kubenet", | ||
"networkPolicy": "calico", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -22,7 +22,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
@@ -89,7 +89,7 @@ | |
}, | ||
"aks": { | ||
"value": { | ||
"version": "1.22.6", | ||
"version": "1.25.5", | ||
"enabled": true, | ||
"networkPlugin": "kubenet", | ||
"networkPolicy": "calico", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
"receivers": { | ||
"app": [ "[email protected]" ], | ||
"email": [ "[email protected]" ], | ||
"sms": [ { "countryCode": "1", "phoneNumber": "5555555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "5555555555" } ] | ||
"sms": [ { "countryCode": "1", "phoneNumber": "6045555555" } ], | ||
"voice": [ { "countryCode": "1", "phoneNumber": "6045555555" } ] | ||
}, | ||
"actionGroupName": "Service health action group", | ||
"actionGroupShortName": "health-alert", | ||
|
@@ -22,7 +22,7 @@ | |
"securityCenter": { | ||
"value": { | ||
"email": "[email protected]", | ||
"phone": "5555555555" | ||
"phone": "6045555555" | ||
} | ||
}, | ||
"subscriptionRoleAssignments": { | ||
|
@@ -89,7 +89,7 @@ | |
}, | ||
"aks": { | ||
"value": { | ||
"version": "1.22.6", | ||
"version": "1.25.5", | ||
"enabled": true, | ||
"networkPlugin": "kubenet", | ||
"networkPolicy": "calico", | ||
|
Oops, something went wrong.