# Source: https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/kustomize-files.md

# Kustomize files

You can scan a Kustomize template by building the Kubernetes manifest file and then scanning it using the Snyk CLI `iac test` command.

```
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.