Endpoint policies let you tune the managed rules for one route. Here is how to create one in Aegisify WAF → WAF Settings → Endpoint Policies.
Step by step
- Priority. Enter a number. Lower numbers win when several policies match. Use spaced values (100, 110, 120) so you can insert a more specific policy later.
- Path pattern. Enter the narrowest pattern that covers the route, such as
/wp-json/myplugin/v1/webhook. Wildcards*and?are supported. - Configured action. Choose what should happen when evidence qualifies. Start with Log while validating a new policy.
- Category controls. Tick only the managed attack categories that make sense for this endpoint.
- Thresholds. For each category, 0 inherits the global category threshold. A positive number overrides it for this endpoint only.
- Save. The WAF verifies and snapshots the change so you can roll it back from Test & Recovery.
Example: a noisy webhook
A payment provider posts JSON that occasionally resembles SQL syntax. Instead of disabling SQL injection checks site-wide, create a policy for the webhook path, raise the SQLi threshold to 3, and keep all other categories enabled.
Free and Pro
- Category and threshold overrides work on all installations.
- On Free, the policy action is log-only. On Pro, the configured action is used.
- The global WAF mode still applies; in Observe or Learn, actions are recorded rather than enforced.
Check your work
Use Test & Recovery → Policy Test to run a sample request against the new policy without sending traffic.
Related: Endpoint policies overview, Path matching.
