1.7 KiB
1.7 KiB
cscli upgrade
Upgrade configuration(s)
Synopsis
Upgrade configuration from the CrowdSec Hub.
In order to upgrade latest versions of configuration, the Hub cache should be updated.
Tainted configuration will not be updated (use --force to update them).
[type] must be parser, scenario, postoverflow, collection.
[config_name] must be a valid config name from Crowdsec Hub.
cscli upgrade [type] [config] [flags]
Examples
cscli upgrade [type] [config_name]
cscli upgrade --all # Upgrade all configurations types
cscli upgrade --force # Overwrite tainted configuration
Options
--all Upgrade all configuration in scope
--force Overwrite existing files, even if tainted
-h, --help help for upgrade
Options inherited from parent commands
-c, --config string path to crowdsec config file (default: /etc/crowdsec/config/default.yaml) (default "/etc/crowdsec/config/default.yaml")
--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
- cscli - cscli allows you to manage crowdsec
- cscli upgrade collection - Upgrade collection configuration(s)
- cscli upgrade parser - Upgrade parser configuration(s)
- cscli upgrade postoverflow - Upgrade postoverflow parser configuration(s)
- cscli upgrade scenario - Upgrade scenario configuration(s)