CLI Commands
cnquery
cnquery is a cloud-native tool for querying your entire infrastructure. Use it to ask questions about the configuration, compliance, and security of your assets using MQL (Mondoo Query Language) and get answers in real time.
Options
--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)
-h, --help help for cnquery
--log-level string Set the log level: error, warn, info, debug, trace (default "info")
-v, --verbose Enable verbose outputSEE ALSO
- cnquery bundle - Create, upload, and validate query packs
- cnquery login - Register with Mondoo Platform
- cnquery logout - Log out from Mondoo Platform
- cnquery providers - Providers add connectivity to all assets
- cnquery run - Run an MQL query
- cnquery sbom - Experimental: Generate a software bill of materials (SBOM) for a given asset
- cnquery scan - Scan assets with one or more query packs
- cnquery shell - Interactive query shell for MQL
- cnquery status - Verify access to Mondoo Platform
- cnquery vault - Manage vault environments
- cnquery version - Display the cnquery version