CLI Commands

cnspec providers install

Install a new provider or update an existing one to add connectivity to a specific asset type.

Manually install or update a provider to add connectivity to a specific asset type. This is useful in air-gapped environments or when you need a specific provider version. In most cases, cnspec automatically installs the providers it needs.

Install the latest version of the AWS provider:

cnspec providers install aws

Install a specific version of a provider:

cnspec providers install aws@9.2.0

Install a provider from a local file (useful in air-gapped environments):

cnspec providers install --file /path/to/provider.tar.xz

Options

  -f, --file string   Install a provider via a file
  -h, --help          help for install
      --url string    Install a provider via a URL

Options inherited from parent commands

      --api-proxy string   Set the proxy for communications with Mondoo Platform API
      --auto-update        Enable automatic provider installation and update (default true)
      --config string      Set config file path (default $HOME/.config/mondoo/mondoo.yml)
      --log-level string   Set the log level: error, warn, info, debug, trace (default "info")
  -v, --verbose            Enable verbose output

SEE ALSO

On this page