CLI Commands
cnspec policy delete
Delete a policy from the connected Mondoo Platform space using its UID or MRN.
Remove a policy from your Mondoo Platform space. Use this to clean up policies you no longer need or to remove outdated custom policies.
cnspec policy delete UID/MRN [flags]Options
-h, --help help for deleteOptions 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 outputSEE ALSO
- cnspec policy - Manage local and upstream policies