-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Is your feature request related to a problem? Please describe. 🐛
It is hard to generate a generic ban page that covers all of the types of being blocked by Crowdsec. When users (their IPs...) are banned, I want to show a ban page that gives instructions on how to report false positives ("due to suspicious activity detected from your IP, your IP is banned. contact support@example.com if you feel that you have been banned for no reason") but when a user is only blocked from accessing a particular resource (appsec), but not from ALL resources due to an IP ban, that page doesn't make sense and should show something like "this request was blocked by our security systems.".
Describe the solution you'd like ✨
I would like to define multiple ban/block pages:
- IP is banned (LAPI decision)
- blocked access to this particular resource (appsec result)
- blocked access to this particular resource (appsec not reachable)
- blocked access to this particular resource (appsec failure)