CLI Commands

cnspec policy info

Show detailed information about a policy from the connected Mondoo Platform space.

Show detailed information about a policy in your Mondoo Platform space, including its checks and metadata. Use this to understand what a policy covers before enabling it.

cnspec policy info UID/MRN [flags]

Options

  -f, --file string   Set the path to a local bundle file
  -h, --help          help for info

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