nctl remediate
nctl remediate
Remediate a resource file for policy violations
nctl remediate <resource file> [flags]
Options
--cluster-policies Use policies from a cluster (default value false)
-h, --help help for remediate
--patch Update the source file with the remediated resource (default true)
-p, --policies strings Path to policy files
--policy-sets strings Comma-separated policy set names (pss-baseline, pss-restricted, rbac-best-practices)
Options inherited from parent commands
-v, --v Level log level for V logs
SEE ALSO
- nctl - nctl is the command line interface for Nirmata