crowdsec/docs/cscli/cscli_ban.md
erenJag 4f9d252a15
Add the documentation into crowdsec repo (#3)
Add the documentation into crowdsec repo
2020-05-15 16:58:24 +02:00

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

Auto generated by spf13/cobra on 15-May-2020