Cscli

cscli is the utility that will help you to manage Crowdsec. This tools has the following functionalities:

Take a look at the dedicated documentation

Overview

cscli configuration location is /etc/crowdsec/cscli/.

In this folder, we store the cscli configuration and the hub cache files.

Config

The cscli configuration is light for now, stored in /etc/crowdsec/cscli/config.

installdir: /etc/crowdsec/config   # Crowdsec configuration location
backend: /etc/crowdsec/plugins/backend # path to the backend plugin used

For cscli to be able to pull the topX, you need a valid API configuration in api.yaml.

Hub cache

This is used to manage configurations from the cscli