CLI Commands
cnspec status
Verify cnspec access to Mondoo Platform by sending a ping to check credentials.
Send a ping to Mondoo Platform to verify that your credentials are valid and that cnspec can communicate with the API. This is useful for troubleshooting connectivity or authentication issues after running cnspec login.
cnspec statusGet the status as JSON for use in scripts:
cnspec status --output jsonOptions
-h, --help help for status
-o, --output string Set the output format: json, yamlOptions 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 outputSEE ALSO
- cnspec - cnspec CLI