prevent notifications for manual add ip/range or use own custom blocklist
Hello, and apologies if this has already been asked and answered.
I have a self-maintained blacklist that I would like to use with Crowdsec.
My first approach was to use cscli to add the IPs and ranges, as well as a reason.
However, this resulted in the reports being duplicated via notification.
I couldn't find a way to block the notifications because the reason is not available in the filter; the alert only has other data available.
I can't set meta when adding either.
As far as I could tell, it was also not possible to integrate my own blocklist.
3 Replies
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command
/resolve
or press the green resolve button below.Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
Instead of calling
cscli decisions add
you should instead use cscli decisions import
so for example if the blocklist is literally just a list of ips you can run
-i-
means the list is coming from stdinok I will try, thank you for your time