Trivy supports the scanners listed in the table below.
In addition to raw YAML and JSON, it supports the following templates:
Trivy does not support Kustomize overlays, so it scans files defined in the base.
Or, you can scan the output of
Trivy recursively searches directories and scans all found Kubernetes files.
The secret scan is performed on plain text files, with no special treatment for Kubernetes. This means that Base64 encoded secrets are not scanned, and only secrets written in plain text are detected.
Kustomize is not natively supported. ↩