CLI Commands

cnspec policy enable

Enable a policy in the connected Mondoo Platform space.

Enable a policy in your Mondoo Platform space so that it's included in future scans of applicable assets.

cnspec policy enable UID/MRN [flags]

Options

  -h, --help   help for enable

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