Join our Newsletter — 33% off our NHI Course
Home› Guides› Web application firewall (WAF) health check: 13 metrics…
Template Web & API Security

Web application firewall (WAF) health check: 13 metrics with thresholds and red flags

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 13 November 2026 14 min read
On this page

A web application firewall that was tuned well at go-live drifts out of protection without anyone deciding it should: applications stay in detection-only mode, exclusions widen, rulesets fall behind and attackers find the origin address that skips the WAF entirely. This health check is a recurring review of a WAF estate that is already in production, whether it runs as a cloud edge service, a load balancer module, an appliance or a reverse proxy with an open-source ruleset. It gives 13 metrics with formulas and thresholds, the data sources to collect them from, and a findings log you can copy. It is written for application security engineers, platform and edge teams, and the managers who sign off web protection. It answers the questions teams search for when audit season arrives: "how do I audit my WAF", "what WAF metrics should we report" and "is our WAF actually blocking anything".

This page measures the estate; it does not repeat how to build or harden it. For what a WAF does and how rules work, read the Web Application Firewall Guide. For protecting the WAF platform itself (admin roles, edge keys and its cloud role), use Securing the web application firewall (WAF) itself. The metrics are vendor-neutral and work for any WAF that can export its policy, exclusions and logs.

What this health check covers

The review covers every internet-facing web application and API that should sit behind a WAF, the WAF policies attached to them, the ruleset versions and exclusions in those policies, the logs the WAF produces, and the people and processes that respond to its alerts. Internal-only applications are in scope only where your policy says they must be protected. DDoS protection, bot management products and API gateways have their own reviews; this page measures them only where the WAF itself provides the control.

  • Who runs it: the WAF or edge platform owner collects the data; application owners confirm their own application's status; security operations validates the logging and triage metrics; the head of application security or the CISO signs off.
  • How it differs from the hardening guide: the securing guide tells you which settings to change on the platform. This health check measures whether applications are protected, whether protection is enforcing, and whether the tuning is still sound, so you can show improvement quarter on quarter.
  • How it differs from a penetration test: a test proves whether one application can be attacked through the WAF on one day. This review measures coverage and drift across all applications and tells you where a test is most needed.

Key takeaways

  • Coverage comes first. A WAF protects only the applications routed through it. Reconcile the WAF's list of protected hosts with your inventory of internet-facing applications every quarter.
  • An origin reachable directly is an unprotected application. If attackers can reach the origin server's IP address or default cloud hostname, the WAF policy is decoration. Test for bypass, do not assume it.
  • Detection-only mode has to end. Track how many applications are blocking and how long each has spent in detection-only. Tuning periods measured in years are common and are a finding.
  • Exclusions are where protection leaks. Every rule exclusion should be as narrow as one rule, one parameter and one path, with an owner and a review date.
  • Measure the WAF's response to new vulnerabilities. Time from a critical web vulnerability disclosure to a deployed virtual patch is the metric that shows the WAF earning its place.

How to use this template

Copy the metrics table and the findings log into your own tracker, then run this WAF health check every quarter, with the faster checks in the cadence table run monthly. Collect each figure from the data source types described, score it against the green, amber and red bands, and record every amber or red result as a finding with an owner and a due date. In a large estate, run it per business unit or per WAF platform and then roll up, so that one well-tuned platform does not hide another. Keep each completed review so the approver can see the trend. Replace bracketed placeholders such as [Organisation], [Role] and [Date] with your own values.

Cadence and sign-off

ReviewFrequencyOwnerApproverEvidence kept
Origin bypass testMonthly, and after any DNS, load balancer or hosting changeSecurity operations or edge teamHead of application securityTest targets, method, results per origin, dated
New critical vulnerability checkWeekly, and on each critical web advisory affecting your stackWAF platform ownerVulnerability management leadAdvisory, affected applications, virtual patch decision and deployment time
Exclusion reviewQuarterly, plus each exclusion's own review dateApplication owners with the WAF teamWAF platform ownerExclusion export with scope, owner, reason, review date
Full metrics review (this page)QuarterlyWAF platform ownerHead of application security or CISOMetrics table, policy and inventory exports, findings log
False positive sample reviewQuarterlyApplication security engineerWAF platform ownerSampled blocked requests with verdicts

Metrics

NHI Mgmt Group recommended thresholds; adjust to your risk appetite. A "protected application" is a hostname, or a hostname and path prefix, with a WAF policy attached in production. Count each application once even if several WAF layers sit in front of it, and record which layer you measured.

IDMetricFormulaData source typeGreenAmberRed
WAF-01Internet-facing application coverageInternet-facing web applications and APIs with a WAF policy attached ÷ internet-facing web applications and APIs in the asset inventory and external attack surface resultsAsset inventory, external DNS records, attack surface scan, WAF protected host list98% or above90% to below 98%Below 90%
WAF-02Origin bypass exposureProtected applications whose origin answers web requests from the internet without passing through the WAF ÷ protected applicationsDirect-to-origin test results, origin firewall and security group rules0%Above 0% to 2%, with an access restriction scheduled within 30 daysAbove 2%, or any origin of an application that handles authentication or payment
WAF-03Blocking modeProtected applications whose policy blocks requests that reach the blocking threshold ÷ protected applicationsWAF policy export (mode or action per policy)95% or above80% to below 95%Below 80%
WAF-04Overdue detection-only policiesProtected applications in detection-only mode for more than 30 days without an approved, dated exception ÷ protected applications in detection-only modePolicy export with mode change history, exception register0%Above 0% to 25%Above 25%, or any application in detection-only for more than 180 days
WAF-05Sensitivity below baselineProtected applications whose blocking threshold is set less sensitive than the organisation's approved baseline, or whose rule sensitivity level is below the baseline, without an approved exception ÷ protected applicationsPolicy export (anomaly thresholds, sensitivity or paranoia level settings), approved baseline0%Above 0% to 5%Above 5%
WAF-06Broad or expired exclusionsRule exclusions that disable a rule for a whole application, whole host or all parameters, or that are past their review date ÷ all rule exclusionsExclusion and allow-list export with scope, owner and review dateBelow 5%5% to 15%Above 15%
WAF-07Ruleset currencyProtected applications on the current supported version of their managed or core ruleset, or within 30 days of its release ÷ protected applicationsPolicy export (ruleset version), ruleset release notes95% or above85% to below 95%Below 85%, or any application on a ruleset version no longer supported
WAF-08Virtual patch within service levelCritical web vulnerabilities affecting a protected application where a WAF mitigation is feasible, with a mitigation rule deployed in blocking mode within 7 days of the advisory ÷ such vulnerabilities in the quarterVulnerability tracker, WAF change records with timestamps90% or above70% to below 90%Below 70%, or any vulnerability listed as known exploited with no mitigation or fix after 7 days
WAF-09Confirmed false positive rateSampled blocked requests confirmed as legitimate traffic ÷ sampled blocked requests (sample at least 100 per platform per quarter)WAF block logs, application owner verdictsBelow 2%2% to 10%Above 10%
WAF-10Authentication endpoint abuse controlsSign-in, registration, password reset and one-time code endpoints with WAF rate limiting or automated traffic rules in blocking mode ÷ such endpoints on protected applicationsEndpoint list from application owners, WAF rate limit and bot rule export100%90% to below 100%Below 90%
WAF-11Log delivery completenessProtected applications whose WAF request logs (blocked and allowed, with rule IDs) reached the central log platform in the last 24 hours ÷ protected applicationsLog platform source list, WAF log export configuration98% or above90% to below 98%Below 90%
WAF-12High-severity event triageHigh-severity WAF alerts (attack patterns against critical applications, sustained attack bursts, rule hits on applications in detection-only) triaged within 24 hours ÷ high-severity WAF alertsSecurity monitoring case records95% or above80% to below 95%Below 80%
WAF-13Policy changes with an approved change recordProduction WAF policy, exclusion and mode changes linked to an approved change or pipeline run ÷ all production WAF policy, exclusion and mode changes in the quarterWAF platform audit log, change management records, policy repository history98% or above90% to below 98%Below 90%, or any unexplained switch to detection-only

Reading the results together

WAF-01 and WAF-02 measure whether traffic reaches the WAF at all. WAF-03 to WAF-07 measure whether the policy in front of each application would stop an attack. WAF-08 and WAF-10 measure the WAF's job against specific threats: newly disclosed vulnerabilities and automated abuse of sign-in. WAF-09, WAF-11, WAF-12 and WAF-13 measure whether the WAF is operated well enough to stay trusted. Report all four groups, because a common pattern is excellent coverage figures for applications that are almost all in detection-only mode.

The WAF's purpose maps to exploitation of public-facing applications (MITRE ATT&CK T1190) and to web shells planted after a successful exploit (T1505.003). Attackers who gain access to the WAF console can weaken it, which is why unexplained mode changes are a red flag here; ATT&CK files tampering with security tools under T1685 Disable or Modify Tools.

Calibrating WAF-05 against your ruleset

Most WAFs score requests rather than block on single rule matches. The OWASP Core Rule Set, for example, works in anomaly scoring mode: each matching rule adds points, and the request is blocked when the total reaches the inbound threshold, which defaults to 5 (4 for responses). The project warns against raising those thresholds above the defaults except temporarily while tuning false positives. It also defines four paranoia levels, where each higher level adds rules and more false positives, and an executing paranoia level that runs higher-level rules without letting them count towards blocking. Write your baseline in the same terms your platform uses (threshold, sensitivity level, paranoia level) and score WAF-05 against it.

How to collect the data

  1. Build the denominator first. Combine the asset inventory, public DNS zones and the latest external attack surface results into one list of internet-facing web applications and APIs. Match it against the WAF's protected host list for WAF-01. Hostnames that appear in DNS but not in either list are findings in their own right.
  2. Test for origin bypass. For each protected application, find the origin address from load balancer configuration, historical DNS records and the cloud platform's own default hostnames, then send a harmless request directly from an internet vantage point outside your network. Any normal page response counts against WAF-02. Record the test method so it is repeatable.
  3. Export every policy with mode, threshold or sensitivity settings, ruleset name and version, attached custom rules and the last change date. WAF-03, WAF-05 and WAF-07 come from this export; WAF-04 needs the mode change history from the platform audit log.
  4. Export exclusions separately, including allow lists, disabled rules and parameter exclusions, with their scope, owner, reason and review date. Classify each as narrow (one rule, one parameter, one path) or broad for WAF-06.
  5. Join the vulnerability tracker to WAF changes. For each critical web vulnerability in the quarter that affects a protected application, record the advisory date, whether a WAF rule could mitigate it and when that rule went into blocking mode. Check the CISA KEV Catalogue Guide for which vulnerabilities are known to be exploited.
  6. Sample blocked requests at random across applications and ask owners to mark each as attack, legitimate or unclear. Exclude unclear results from both numerator and denominator for WAF-09.
  7. List sign-in and recovery endpoints with application owners and match them to rate limit and automated traffic rules for WAF-10.
  8. Reconcile log sources on the central log platform against the protected application list for WAF-11, and pull case records for WAF-12 from security monitoring.
  9. Compare the platform audit log with change records for WAF-13. Where policy is managed as code, compare the running policy with the repository as well.

Where identity fits

Two identity questions sit inside a WAF review. First, the automation that changes WAF policy (pipelines, infrastructure as code tools and ticket integrations) uses API tokens and service accounts that can switch an application to detection-only; include them in the WAF-13 evidence and give each one an owner. Second, WAF-10 is the WAF's contribution to defending human sign-in against credential stuffing and password spraying (T1110.003). See the Service Account Security Guide and the Account Takeover Prevention Guide.

Red flags that need action now

  • The origin of an application that handles sign-in, payment or personal data answers requests directly from the internet.
  • An internet-facing application that holds personal or payment data has no WAF policy at all.
  • A known exploited vulnerability affects a protected application, a WAF mitigation is feasible, and none has been deployed after 7 days.
  • A production application was switched from blocking to detection-only with no change record.
  • An exclusion disables a whole rule category (for example all injection rules) for an entire host.
  • A protected application has stopped sending WAF logs to the central platform.
  • Rule hits on an application in detection-only mode show an active attack pattern and nobody has triaged them.
  • The managed or core ruleset on a production policy is a version its maintainer no longer supports.

Findings log

IDFindingMetricSeverityOwnerDue dateStatus
HC-WAF-01[Description, population and figure, e.g. 14 of 160 protected applications answer direct-to-origin requests]WAF-02[Critical / High / Medium / Low][Role][Date][Open / In progress / Closed / Risk accepted]
HC-WAF-02[Description]WAF-04[Severity][Role][Date][Status]
HC-WAF-03[Description][Metric ID][Severity][Role][Date][Status]

Suggested due dates: red flags within 7 days, red metrics within 30 days, amber metrics within 90 days. When moving an application from detection-only to blocking, review the last 14 days of would-be blocks first, add narrow exclusions for confirmed false positives, and keep a one-step rollback to detection-only for the first week. Risk acceptance needs the application owner's and WAF platform owner's signatures and an expiry date.

Remediation map

Finding typeWhere to fix it
Coverage gaps and origin bypass (WAF-01, WAF-02)Web application firewall (WAF) rollout playbook and Web Application Firewall Guide
Detection-only, sensitivity and exclusions (WAF-03 to WAF-06, WAF-09)Web Application Firewall Guide and Securing the web application firewall (WAF) itself (policy and mode integrity)
Ruleset currency and virtual patching (WAF-07, WAF-08)CIS Control 7 Continuous Vulnerability Management Guide and OWASP Top 10 Guide
Sign-in abuse (WAF-10)Bot Management Guide and Account Takeover Prevention Guide
Logging and triage (WAF-11, WAF-12)CIS Control 8 Audit Log Management Guide and Detection Engineering Guide
Unapproved policy changes (WAF-13)Securing the web application firewall (WAF) itself; if tampering is suspected, If your web application firewall (WAF) is compromised

References

Related NHI Mgmt Group resources: Web Application Firewall Guide, WAF and WAAP Buyer's Guide, API gateway health check, DDoS Protection Guide.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.