4f9d252a15
Add the documentation into crowdsec repo
1.2 KiB
1.2 KiB
cscli ban
Manage bans/mitigations
Synopsis
This is the main interaction point with local ban database for humans.
You can add/delete/list or flush current bans in your local ban DB.
Options
--db string Set path to SQLite DB.
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
-h, --help help for ban
Options inherited from parent commands
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
--debug Set logging to debug.
--error Set logging to error.
--info Set logging to info.
-o, --output string Output format : human, json, raw. (default "human")
--warning Set logging to warning.
SEE ALSO
- cscli - cscli allows you to manage crowdsec
- cscli ban add - Adds a ban against a given ip/range for the provided duration
- cscli ban del - Delete bans from db
- cscli ban flush - Fush ban DB
- cscli ban list - List local or api bans/remediations