CubePathDOCS
CDN

Get Managed WAF Results

get/cdn/zones/{zone_uuid}/metrics/waf

See what the managed WAF found on your zone: how many requests it looked at, how many it flagged, the rules that matched most and the paths and countries they came from. In mode "log" it only detects; in mode "block" it answers 403 to the requests whose score reaches the threshold and blocked counts them.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

zone_uuid*string

Query parameters

minutes?integer

Window in minutes, 1 to 1440 (24 hours).

Default60

Responses

Successful Response

application/json

ruleset?string | null
period_minutes*integer
evaluated*integer
flagged*integer
would_block*integer
blocked*integer
skipped*integer
top_rules*array<CDNWafRuleCount>
Properties (4)
rule_id*string
category?string | null
description?string | null
hits*integer
top_paths*array<CDNWafPathCount>
Properties (2)
path*string
hits*integer
top_countries*array<CDNWafCountryCount>
Properties (2)
country*string
hits*integer
notes*array<string>