You can scan a Kustomize template by building the Kubernetes manifest file and then scanning it using the Snyk CLI iac test command.
iac test
kustomize build > kubernetes.yaml snyk iac test kubernetes.yaml
Depending on your Kustomize templates, you may need to provide a name after the build argument.
Last updated 2 years ago
Was this helpful?