Thresholds
Manage workspace thresholds.
IMPORTANT: The Fastly Next-Gen WAF API is only available to customers with access to the Next-Gen WAF product in the Fastly control panel. If you have access to the Next-Gen WAF control panel, check out the Next-Gen WAF API.
Data model
A threshold configuration.
action | string | The action to take when a threshold is exceeded. Use block_immediately to block every request carrying the configured signal unconditionally, with no rate window applied. When using block_immediately, the interval, limit, duration, and dont_notify fields are stored as provided but not evaluated. Supported only for Pentest, CVE, XXE, and AWS-SSRF signals. Required. | |
dont_notify | boolean | Whether to silence notifications when the action is taken. Has no effect when action is block_immediately. Notifications are never sent for that action. | |
duration | integer | Duration the action is in place. Default duration is 86,400 seconds (1 day). | |
enabled | boolean | Whether this threshold is active. Required. | |
id | string | Threshold ID. Read-only. | |
interval | integer | Threshold interval in seconds. Default interval is 3600 seconds (1 hour). | |
limit | integer | Threshold limit. Default limit is 10. | |
name | string | Threshold name. | |
signal | string | The name of the signal this threshold is acting on. Required. |