crowdsecurity / crowdsec

CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
https://crowdsec.net
MIT License
8.75k stars 452 forks source link

Improvement/cscli: allow add/del of whitelist/blacklist items #1239

Open MikeSchiessl opened 2 years ago

MikeSchiessl commented 2 years ago

Is your feature request related to a problem? Please describe. When it comes to a multi-server setup, I probably want to maintain custom black and whitelists across all nodes. Therefore, the current described approach is not sufficient as a WL file needs to be created manually.

Describe the solution you'd like I want to be able to cscli whitelist / blacklist add/del <network/ip 4|6>. Those changes should become available across the platform through LAPI

Additional context This is somehow related to issue #1235

zas commented 2 years ago

I was expecting such feature, and the fact whitelisting cannot be made through LAPI is quite a bummer.

So, I totally support this improvement suggestion.

kresike commented 1 year ago

This would be a welcome improvement for us as well!