Challenge at is the first step of REST progressive enforcement. It is in Aegisify WAF → API & Application → Legacy API Key and Thresholds (Pro).
What it does
When an anonymous client’s REST request count within the REST window reaches the Challenge-at value, the WAF requires browser verification:
- If the client already has a valid
aegiswaf_chalchallenge cookie, the request continues. - Otherwise, the request is answered with HTTP 403 (“Challenge required”) and logged.
A value of 0 (the default) disables this step.
Important limitation for APIs
Most REST traffic comes from scripts or JavaScript fetch calls, not page navigations. They cannot display or complete a challenge page. For a challenge to help, the visitor must have completed a challenge earlier in a normal page view.
Because of this, many sites leave Challenge at 0 for REST and rely on Rate-limit at and Block at instead.
When to use it
- Sites where REST calls come from the site’s own pages in a browser (the visitor will usually already hold a challenge cookie after visiting a challenged page).
- As an early warning step, set well above normal usage.
Keep the order
Challenge at ≤ Rate-limit at ≤ Block at.
Related: REST Rate-limit-at, Challenge cookie validation, Progressive thresholds.
