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: Robert Lightner <[email protected]>
- Loading branch information
1 parent
1658a62
commit 8888ad7
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
docs/content/services/networking/front-door/code/afd-5/afd-5.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,8 @@ | ||
// under-development | ||
// Azure Resource Graph Query | ||
// Use end-to-end TLS | ||
cdnresources | ||
| where type == "microsoft.cdn/profiles/afdendpoints/routes" | ||
| extend forwardingProtocol=tostring(properties.forwardingProtocol),supportedProtocols=properties.supportedProtocols | ||
| project id,name,forwardingProtocol,supportedProtocols,tags | ||
| where forwardingProtocol !~ "httpsonly" or supportedProtocols has "http" | ||
| project recommendationId= "afd-5", name,id,tags,param1=strcat("forwardingProtocol:",forwardingProtocol),param2=strcat("supportedProtocols:",supportedProtocols) |
9 changes: 8 additions & 1 deletion
9
docs/content/services/networking/front-door/code/afd-6/afd-6.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,8 @@ | ||
// under-development | ||
// Azure Resource Graph Query | ||
// Use HTTP to HTTPS redirection | ||
cdnresources | ||
| where type == "microsoft.cdn/profiles/afdendpoints/routes" | ||
| extend httpsRedirect=tostring(properties.httpsRedirect) | ||
| project id,name,httpsRedirect,tags | ||
| where httpsRedirect !~ "enabled" | ||
| project recommendationId= "afd-6", name,id,tags,param1=strcat("httpsRedirect:",httpsRedirect) |