I'm trying to setup Azure WAF (v2) on my App Gateway (currently in detection mode first to handle false positive cases), however, I'm seeing this warning:
To view your detection logs, you must have diagnostics enabled.
So, I went to Diagnostic settings
and created it there with following options:
Log:
ApplicationGatewayAccessLog
- (checked)
ApplicationGatewayPerformanceLog
- (checked)
ApplicationGatewayFirewallLog
- (checked)
Metric:
AllMetrics
- (checked)
I have Send to Log Analytics
checked as well. Also Archive to a storage account
enabled.
But I'm still seeing the same warning mentioned above. Any idea what I might be missing here?
UPDATE, I do see records within log with following query, but warning is still there:
AzureDiagnostics | where OperationName == "ApplicationGatewayFirewall"