CLI Commands

cnquery status

Send a ping to Mondoo Platform to verify that your credentials are valid and that cnquery can communicate with the API. This is useful for troubleshooting connectivity or authentication issues after running cnquery login.

cnquery status

Get the status as JSON for use in scripts:

cnquery status --output json

Options

  -h, --help            help for status
  -o, --output string   Set the output format: json, yaml

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")
  -v, --verbose            Enable verbose output

SEE ALSO

On this page