Endpoint policies change how the managed rules behave for a route, so it is important to see when they were involved in a decision. Aegisify WAF writes an endpoint_policy event each time a policy is applied to a request.
What the event records
- Path pattern and priority of the policy that won.
- Configured action: the action the policy asked for.
- Effective action: what actually happened after the global WAF mode was applied (for example, Block downgraded to Log in Observe mode).
- Global mode at the time of the request.
- Effective categories and effective thresholds after the policy’s overrides were combined with the global settings.
- The client IP address and User-Agent.
Where to see it
Open Aegisify WAF → Logs / Attack Story → Logs and filter by category endpoint_policy, or search for the route in Route contains.
How to use the evidence
- Confirm a new policy matches only the routes you intended.
- Explain why a request was logged instead of blocked (compare configured and effective action).
- Spot a policy that applies more often than expected, which usually means the pattern is too broad.
Log volume
These events are part of normal WAF logging and follow the same retention settings (30 days in the database by default). See Retention days setting.
Related: Endpoint policies overview, Core event logging.
