--output (or set output in your config file) to choose between table, JSON, YAML, and text output.
Table (default)
Human-readable table with color-coded severity and status columns. This is the default when stdout is a TTY.Color scheme
Color is automatically disabled when stdout is not a TTY, or when
--no-color or the NO_COLOR environment variable is set.
JSON
Pretty-printed JSON. Useful for scripting and piping tojq. The CLI outputs the result array directly, without the API’s data wrapper.
YAML
YAML output for Kubernetes-style tooling or human-readable structured data.Text
Tab-separated values with a header row. Useful forawk, cut, and shell scripts.
JMESPath filtering (--query)
Filter or transform output using JMESPath expressions. The query is applied to the raw API response, which wraps results in a data key.
When
--query is used, output is always JSON regardless of the --output flag.