cscli setup install-hub
Install recommended hub items from a setup file
Synopsis
Install the CrowdSec hub items (collections, scenarios, etc.) recommended for each detected service, based on a setup file.
This command reads a setup file (typically generated by 'cscli setup detect') and then installs all required hub content to support the detected services.
cscli setup install-hub [setup_file] [flags]
Examples
# detect running services, create a setup file
cscli setup detect > setup.yaml
# install collection, etc.
cscli setup install-hub setup.yaml
# dry-run to preview what would be installed
cscli setup install-hub setup.yaml --dry-run
Options
      --dry-run       simulate the installation without making any changes
  -h, --help          help for install-hub
  -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
- cscli setup - Tools to configure crowdsec