Skip to main content

cnspec bundle init

Create an example policy bundle that you can use as a starting point. If you don't provide a filename, cnspec uses example-policy.mql.yml.

cnspec bundle init [path] [flags]


  -h, --help   help for init

Options inherited from parent commands

      --config string      Set config file path (default $HOME/.config/mondoo/mondoo.yml)
--log-level string Set log level: error, warn, info, debug, trace (default "info")
-v, --verbose Enable verbose output