Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Create Blocking WAF Rules.kql
Added a new suggested query to investigate WAF rule hits
  • Loading branch information
yuvalpery authored Mar 19, 2025
commit 52164edca561728076d09a48332aeeb5c1d72556
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Author: Microsoft Azure
// Display name: Blocking WAF rules
// Description: List all WAF rules hits related to blocked requests.
// Categories: Network
// Resource types: Application gateways
// Topic: Alerts

AGWFirewallLogs
| where TransactionId in (
AGWFirewallLogs
| where Action == "Blocked"
| distinct TransactionId
)
| where RuleId != 949110
| project TransactionId, TimeGenerated, ClientIp, RequestUri, RuleId, Message, DetailedMessage, DetailedData