feat(secret): ignore .dist-info directory for Python projects #8212
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
scan/secret
Issues relating to secret scanning
Description
According to the document,
.dist-info
directory contains metadata files. Trivy doesn't need to detect secrets on these files.We can add a new allow rule.
https://github.com/aquasecurity/trivy/blob/bbc5a85444ec86b7bb26d6db27803d199431a8e6/pkg/fanal/secret/builtin-allow-rules.go
Discussed in #8199
The text was updated successfully, but these errors were encountered: