Skip to main content
Version: Next

cscli appsec-configs install

cscli appsec-configs install

Install given appsec-config(s)

Synopsis

Fetch and install one or more appsec-configs from the hub

cscli appsec-configs install [item]... [flags]

Examples

# Install some appsec-configs.
cscli appsec-configs install crowdsecurity/virtual-patching

# Show the execution plan without changing anything - compact output sorted by type and name.
cscli appsec-configs install crowdsecurity/virtual-patching --dry-run

# Show the execution plan without changing anything - verbose output sorted by execution order.
cscli appsec-configs install crowdsecurity/virtual-patching --dry-run -o raw

# Download only, to be installed later.
cscli appsec-configs install crowdsecurity/virtual-patching --download-only

# Install over tainted items. Can be used to restore or repair after local modifications or missing dependencies.
cscli appsec-configs install crowdsecurity/virtual-patching --force

# Prompt for confirmation if running in an interactive terminal; otherwise, the option is ignored.
cscli appsec-configs install crowdsecurity/virtual-patching -i
cscli appsec-configs install crowdsecurity/virtual-patching --interactive

Options

  -d, --download-only   Only download packages, don't enable
--dry-run Don't install or remove anything; print the execution plan
--force Force install: overwrite tainted and outdated files
-h, --help help for install
--ignore Ignore errors when installing multiple appsec-configs
-i, --interactive Ask for confirmation before proceeding

Options inherited from parent commands

      --color string    Output color: yes, no, auto (default "auto")
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config.yaml")
--debug Set logging to debug
--error Set logging to error
--info Set logging to info
-o, --output string Output format: human, json, raw
--trace Set logging to trace
--warning Set logging to warning

SEE ALSO