-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Kyle Poineal <[email protected]> Co-authored-by: Zach Trocinski <[email protected]> Co-authored-by: Zach Trocinski <[email protected]>
- Loading branch information
1 parent
5a120a8
commit a44f39b
Showing
8 changed files
with
39 additions
and
24 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
10 changes: 8 additions & 2 deletions
10
azure-resources/Sql/managedInstances/kql/15e2712c-f3ea-4a8d-9081-11e822b1ccfb.kql
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,2 +1,8 @@ | ||
// under-development | ||
|
||
// Azure Resource Graph Query | ||
// Managed Instance storage backup redundancy check – any server that is not configured for GZRS | ||
resources | ||
| where type =~ 'Microsoft.Sql/managedInstances' | ||
| extend backupredundancy=properties.storageAccountType | ||
| extend ServiceTier = sku.tier | ||
| where backupredundancy != 'GeoZone' | ||
| project recommendationId='15e2712c-f3ea-4a8d-9081-11e822b1ccfb', name, id, param1=strcat('Service Tier:', ServiceTier), param2=strcat('Backup Redundancy:', backupredundancy) |
3 changes: 1 addition & 2 deletions
3
azure-resources/Sql/managedInstances/kql/257cd903-700f-4a79-bd37-7dce2b511df4.kql
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,2 +1 @@ | ||
// under-development | ||
|
||
// cannot-be-validated-with-arg |
3 changes: 1 addition & 2 deletions
3
azure-resources/Sql/managedInstances/kql/9fad5392-b852-4807-9b6d-3f700ff9771a.kql
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,2 +1 @@ | ||
// under-development | ||
|
||
// cannot-be-validated-with-arg |
9 changes: 7 additions & 2 deletions
9
azure-resources/Sql/managedInstances/kql/c14de326-2729-4be7-a91f-4ea185d24b10.kql
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,2 +1,7 @@ | ||
// under-development | ||
|
||
// Azure Resource Graph Query | ||
// Use Redirect connection type to accelerate application access | ||
resources | ||
| where type =~ 'Microsoft.Sql/managedInstances' | ||
| extend connectionpolicy=properties.proxyOverride | ||
| where connectionpolicy != 'Redirect' | ||
| project recommendationId='c14de326-2729-4be7-a91f-4ea185d24b10', name, id, tags, param1=strcat('Connection Policy:', connectionpolicy) |
3 changes: 1 addition & 2 deletions
3
azure-resources/Sql/managedInstances/kql/c9afeb1e-e706-4809-be4e-75d9fac708f2.kql
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,2 +1 @@ | ||
// under-development | ||
|
||
// cannot-be-validated-with-arg |
11 changes: 9 additions & 2 deletions
11
azure-resources/Sql/managedInstances/kql/f8f834a9-c761-4e84-b2cb-ac55494d0c37.kql
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,2 +1,9 @@ | ||
// under-development | ||
|
||
// Azure Resource Graph Query | ||
// Managed Instance zone redundancy check – any server that is not configured for ZR | ||
resources | ||
| where type =~ 'Microsoft.Sql/managedInstances' | ||
| extend InstanceName = properties.fullyQualifiedDomainName | ||
| extend ServiceTier = sku.tier | ||
| extend zoneRedundant=properties.zoneRedundant | ||
| where zoneRedundant == 'false' | ||
| project recommendationId='f8f834a9-c761-4e84-b2cb-ac55494d0c37', name, id, tags, param1=strcat('Service Tier:', ServiceTier), param2=strcat('Zone Redundant:', zoneRedundant) |
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