nctl remediate
nctl remediate
Remediate a resource file or directory for policy violations
nctl remediate <resource file or directory> [flags]
Options
--cluster-policies Use policies from a cluster (default 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 Policy set names (comma separated e.g., "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