Converting requests to rules
Last updated 2023-05-04
From the Requests page, you can convert individual requests into pre-populated rules, enabling you to allow, block, rate limit, and tag similar requests. To convert a request into a rule, follow these steps:
- Log in to the Next-Gen WAF console.
- From the Sites menu, select a site if you have more than one site.
Locate or search for the request you want to convert into a rule.
Click View request detail.
Click Convert to rule in the upper-right corner.
Under Type, select the type of rule you want to make (Request, Rate limit, or Signal exclusion).
Under Conditions, select which characteristics of the request you want to convert into rule conditions. For example, selecting IP Address and Path will create conditions in the rule that look for the specific IP address and path featured in the request.
Under Conditions, modify the rule as needed by adding and editing rule conditions.
Under Actions, select which actions the rule should take (e.g., Block, Allow, or Add signal). Additional actions can be added by clicking Add action.
Under Status, optionally disable the rule by deselecting Always enabled. By default, rules are automatically enabled when created unless specifically disabled.
You can optionally set the rule to automatically disable after a set period of time. Click Change expiration and select a duration from the menu.
In the Description field, enter a description for the rule.
Click Create site rule.