CLI Commands

cnspec providers update

Update installed providers to their latest versions.

Update your installed providers to their latest versions. This is useful when you manage providers manually or run in an air-gapped environment where cnspec does not update them automatically. Providers that are already on the latest version are skipped.

Update every installed provider:

cnspec providers update

Update a single provider by name:

cnspec providers update aws

Update several providers at once:

cnspec providers update aws gcp

If you name a provider that isn't installed, cnspec reports it and moves on instead of failing.

Options

  -h, --help   help for update

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")
      --logging-config string   Path to a logging configuration file (YAML or JSON) that selects the log writer, level, and writer-specific options
  -v, --verbose                 Enable verbose output

SEE ALSO

On this page