Deploy
warning
This documentation mostly focus on installation of custom scenarios. Scenarios from the hub should be installed as a part of the collection, by using cscli collections install <collection-name>. Installing scenarios directly with cscli scenario install <scenario-name> might lead to unexpected results because of missing dependencies (ie. parsers, enrichers, post-overflows etc.)
Deploymentโ
Installationโ
To deploy a scenario, simply copy it to /etc/crowdsec/scenarios/.
Verificationโ
Use cscli scenarios list to view all your installed scenarios:
Namepresents thenamefield of the yaml file.Versionrepresents the version of the scenario according to the hub. Versions increment on upstream changes.Local pathrepresents the local path to the scenario file.๐ฆ Statusindicates the state:
| Status | Description |
|---|---|
โ๏ธ enabled | Scenario is from the hub and up-to-date |
๐ enabled,local | This is a custom scenario |
โ ๏ธ enabled,tainted | This is an upstream scenario that has been modified |