crowdsec/cmd/crowdsec-cli/doc/cscli_api.md
Thibault bui Koechlin 4d306fc52b doc
2020-05-15 14:33:01 +02:00

1.4 KiB

cscli api

Crowdsec API interaction

Synopsis

Allow to register your machine into crowdsec API to send and receive signal.

Examples


cscli api register      # Register to Crowdsec API
cscli api pull          # Pull malevolant IPs from Crowdsec API
cscli api reset         # Reset your machines credentials
cscli api enroll        # Enroll your machine to the user account you created on Crowdsec backend
cscli api credentials   # Display your API credentials

Options

  -h, --help   help for api

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