CLI Commands

cnspec providers delete

Remove an installed provider plugin from disk.

Remove an installed provider plugin from disk. cnspec re-downloads the provider automatically the next time it needs it, so this is a safe way to reclaim space or force a clean reinstall.

Remove a single provider:

cnspec providers delete aws

Remove every installed provider at once. Because this wipes your entire provider footprint, it requires the --yes flag to confirm:

cnspec providers delete all --yes

Options

  -h, --help   help for delete
      --yes    Confirm removal of all providers when using the 'all' target

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