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 updateUpdate a single provider by name:
cnspec providers update awsUpdate several providers at once:
cnspec providers update aws gcpIf you name a provider that isn't installed, cnspec reports it and moves on instead of failing.
Update providers from the preview release channel for this one command, without changing your configured channel. To learn more, read Release channels:
cnspec providers update --channel previewOptions
--channel string Release channel to resolve from: stable or preview (default: the configured update_channel, or the channel this build belongs to)
-h, --help help for updateOptions 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
--strict Default MQL strict mode for policies that do not declare one: every link in an MQL chain must resolve
-v, --verbose Enable verbose outputSEE ALSO
- cnspec providers - Providers add connectivity to all assets