Skip to main content

mondoo policy add

Adds a user-owned policy to space policy library

mondoo policy add [path] [flags]


      --force                          overwrites an existing policy
-h, --help help for add
-o, --output string Output format (cli|yaml)
--policy-labels stringToString enrich the policies with additional information, multiple labels can be passed in via --labels key=value (default [])
--policy-version string overwrite the versions the policy

Options inherited from parent commands

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