cscli is the utility that will help you to manage Crowdsec. This tools has the following functionalities:
- manage bans
- backup and restore configuration
- display metrics
- install configurations
- remove configurations
- update configurations
- upgrade configurations
- list configurations
- interact with CrowdSec API
- manage simulation
Take a look at the dedicated documentation
cscli configuration location is
In this folder, we store the cscli configuration and the hub cache files.
The cscli configuration is light for now, stored in
installdir: /etc/crowdsec/config # Crowdsec configuration location backend: /etc/crowdsec/plugins/backend # path to the backend plugin used
.index.json: The file containing the metadata of all the existing collections, parsers and scenarios stored in the Crowdsec Hub.
hub/*: Folder containing all the collections, parsers and scenarios stored in the Crowdsec Hub.
This is used to manage configurations from the cscli