Converting requests to rules
Last updated 2023-06-28
From the Requests page, you can convert individual requests into pre-populated rules, enabling you to take action on similar requests. To convert a request into a rule, follow these steps:
- Next-Gen WAF control panel
- Fastly control panel
- Log in to the Next-Gen WAF control panel.
- From the Sites menu, select a site if you have more than one site.
Click Requests.
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.
Click Continue.
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.
Do not use this form to send sensitive information. If you need assistance, contact support. This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.