Manage cnquery Providers
Learn how to install, update, remove, and disable automatic updates for cnquery providers
Providers are the components of cnquery that allow it to query specific platforms. By default, cnquery automatically manages providers for you. To learn more, read About cnquery Providers.
Install, update, and remove providers
You can download the latest versions of providers at https://releases.mondoo.com/providers/. Past versions are always available at the same location.
These are the available cnquery providers:
| Provider | Target |
|---|---|
| ai | MCP Servers |
| ansible | Ansible IaC code |
| arista | Arista network devices |
| atlassian | Atlassian Cloud |
| aws | Amazon Web Services |
| azure | Microsoft Azure |
| cloudflare | Cloudflare CDN |
| cloudformation | AWS CloudFormation |
| equinix | Equinix Metal |
| fortios | Fortinet FortiOS |
| gcp | Google Cloud |
| github | GitHub |
| gitlab | GitLab |
| google-workspace | Google Workspace |
| ipinfo | ipinfo.io address information |
| ipmi | Intelligent Platform Management Interface |
| k8s | Kubernetes |
| mondoo | Mondoo Platform |
| ms365 | Microsoft 365 |
| network | HTTP/HTTPS Hosts |
| networkdevices | Cisco IOS / NX-OS devices |
| networkdiscovery | Subdomains from a host |
| nmap | Nmap host scan |
| oci | Oracle Cloud Infrastructure |
| okta | Okta |
| opcua | OPC Unified Architecture |
| os | Operating systems |
| panos | Palo Alto PAN-OS |
| shodan | Shodan Search Engine |
| slack | Slack |
| snowflake | Snowflake |
| tailscale | Tailscale networks |
| terraform | HashiCorp Terraform IaC code |
| vcd | VMware Cloud Director |
| vsphere | VMware vSphere |
To learn what providers are installed, run:
cnquery providersFor help on the providers subcommand, run:
cnquery providers -hManually install a provider
To install a provider, run:
cnquery providers install NAMEFor NAME, substitute the provider name (as shown in the table above). For example:
cnquery providers install k8sFor help on manual provider installation, run:
cnquery providers install -hTo install a provider from a file, run:
cnquery providers install -f PATHFor PATH, substitute the path and name of the provider file. For example:
cnquery providers install -f providers/os/dist/os.tar.xzTo install a provider from a URL, run:
cnquery providers install --url URLFor URL, substitute the location and name of the provider file. For example:
cnquery providers install --url https://releases.mondoo.com/providers/os/9.0.7/os_9.0.7_linux_arm.tar.xzManually update providers
To update to the latest version of all installed providers, run:
cnquery providers updateTo update to the latest version of a specific provider, run:
cnquery providers update NAMEFor NAME, substitute the name of the provider (as shown in the table above). For example:
cnquery providers update vsphereRemove providers
To remove a provider, run:
cnquery providers remove NAMEFor NAME, substitute the name of the provider you want to uninstall. For example:
cnquery providers remove terraformDisable automatic provider updates
By default, each time you run a cnquery command, cnquery downloads and installs the latest version of the provider needed to execute the command (unless the latest version of the provider is already installed). You can change this behavior by disabling automatic updates for cnquery.
If you disable automatic updates, cnquery doesn't check whether the latest version of the necessary provider is installed. It uses the version of the necessary provider that is currently installed. If the provider isn't installed, the command fails.
Disable automatic provider updates for all cnquery commands and Mondoo scans
To never automatically update providers, set the auto-update value in the cnquery configuration file to false.
On a Linux or macOS host, cnquery configuration is stored in one of these locations:
-
/etc/opt/mondoo/mondoo.ymlconfigures cnquery for all user accounts. -
~/.config/mondoo/mondoo.ymlconfigures cnquery for a single user.
On a Windows host, cnquery configuration is stored in one of these locations:
-
C:\ProgramData\mondoo\mondoo.ymlconfigures cnquery for all users. -
C:\Users\{username}\.config\mondoo\mondoo.ymlconfigures cnquery for a single user.
To configure cnquery to never update providers, set the configuration:
auto-update: falseIf you disable automatic updates, be sure to check regularly for new versions of providers. To learn more, read Install, update, and remove providers.
Disable automatic provider updates for a single cnquery command
To skip checking for, downloading, and installing the latest provider just once (for a single cnquery command), add the --auto-update=false flag to the command. For example, this scans the local machine without automatically updating the provider:
cnquery scan --auto-update=falseThe command line flag overrides the mondoo.yml configuration file setting.