Replies: 1 comment 1 reply
-
After this change, I think the file pattern for k8s should be |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
In our CI we are scanning Kubernetes manifest after an helm template (file names end with.tpl). We used to make this check with this command
trivy fs --security-checks config -d --policy /trivy/my_policies/ --namespaces mycompany --file-patterns "yaml:.*.tpl" home
.After upgrading to version 0.31.1 (tested also for 0.32.1), trivy doesn't detect config files ending in .tpl
Trivy output:
What did you expect to happen?
I would expect to trivy to detect the configuration files
What happened instead?
Trivy did not detect kubernetes files.
Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
We are using official docker images.
I have also tested with example files https://github.com/aquasecurity/trivy/tree/f3f302901476663b3edef629f5915236cce98bd4/examples/misconf/file-patterns/configs
Beta Was this translation helpful? Give feedback.
All reactions