Blacklist using regex
AltaherPresto opened this issue · 3 comments
Is your feature request related to a problem? Please describe.
I run a small microservice on an AWS ECS container and it gets a LOT of requests from spam bots.
The microservice only has 2 endpoints and needs to stay publically accessible.
I'm using Watchdog to monitor the legitimate requests but the dashboard (and database) is spammed with spam requests.
Describe the solution you'd like
I want the watchdog Blacklist
feature to allow me to use regex so it only stores legitimate requests using negative lookahead assertions
like so:
^(?!.*\/api\/mypath).*$
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Hi @AltaherPresto
This is now possible in the newly released v1.4.11.
You can check the documentation on how to enable regex for blacklisting.