crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

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

Open MikeSchiessl opened this issue 3 years ago • 1 comments

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

MikeSchiessl avatar Feb 04 '22 06:02 MikeSchiessl

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.

zas avatar Aug 04 '22 19:08 zas

This would be a welcome improvement for us as well!

kresike avatar Mar 16 '23 09:03 kresike