This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
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: Rodrigo Santos <[email protected]>
- Loading branch information
1 parent
20b467b
commit 89cfa98
Showing
3 changed files
with
10 additions
and
10 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: 9 additions & 1 deletion
10
docs/content/services/networking/application-gateway/code/agw-8/agw-8.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 +1,9 @@ | ||
// under-development | ||
// Azure Resource Graph Query | ||
// This query will check if connection draining is enabled | ||
resources | ||
| where type =~ "microsoft.network/applicationGateways" | ||
| mv-expand backendHttpSettings = properties.backendHttpSettingsCollection | ||
| extend connectionDrainingEnabled = backendHttpSettings.properties.connectionDraining.enabled | ||
| where connectionDrainingEnabled != true | ||
| extend backendPoolName = backendHttpSettings.name | ||
| project recommendationId = "agw-8", name, id, tags, param1 = "connectionDraining: Disabled", param2 = strcat("backendSettingsName: ", backendPoolName) |
8 changes: 0 additions & 8 deletions
8
docs/content/services/networking/application-gateway/code/agw-8/agw-8.kql.fix
This file was deleted.
Oops, something went wrong.