Skip to main content
Version: v1.7

cscli setup validate

Validate a setup file

Synopsis

Validate a setup file generated by 'cscli setup detect' or manually edited.

This command checks the fields of the setup file, and validates each acquisition configuration according to its datasource type.

It is especially useful if you have edited the file manually or generated it through other means.

cscli setup validate [setup_file] [flags]

Examples

cscli setup validate setup.yaml

Options

  -h, --help   help for validate

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