Lawless WAF

•
5
•

Tunes Azure WAF false positives by analyzing raw log blobs locally, bypassing expensive Log Analytics.

Lawless WAF offers a cost-effective solution for tuning Azure Web Application Firewall (WAF) false positives. Instead of incurring high Log Analytics ingestion fees for voluminous WAF logs, it directly downloads raw log blobs from your Azure storage account and processes them locally using DuckDB. This allows for free, on-demand analysis, helping operators efficiently identify genuine false positives, distinguish them from scanner noise, and gather the precise information needed to craft WAF exclusions. It provides a comprehensive workflow from log download and analysis to exclusion verification and even offers an MCP server for AI agent integration.

Key Features

01Performs local Azure WAF log analysis using DuckDB to avoid Log Analytics costs.
02Compares WAF activity before and after exclusion application to verify fixes.
03Analyzes existing `waf-exclusions.tf` for coverage, duplicates, and stale entries.
04Generates structured exclusion context (match variable, selector, sample values) for Terraform.
05Segments scanner noise from genuine false positives for accurate WAF tuning.
060 GitHub stars

Use Cases

01Reducing operational costs for Azure WAF false positive tuning by avoiding Log Analytics ingestion fees.
02Generating precise, structured data to inform the creation of Azure WAF exclusion rules in Terraform.
03Automating WAF tuning workflows by integrating with AI agents via its MCP server.