feat(misconf): support for ignoring by inline comments for Dockerfile #8113
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
scan/misconfiguration
Issues relating to misconfiguration scanning
target/filesystem
Issues relating to filesystem scanning
Discussed in #7832
Originally posted by tstraley October 30, 2024
Description
According to the docs, trivy misconfig scans support filtering via inline comments - but this appears to only work for terraform files https://aquasecurity.github.io/trivy/test/docs/configuration/filtering/#by-inline-comments
Would like to have a similar capability for Dockerfile scanning, so that we can more accurately accept / ignore specific lines in our Dockerfile while not excluding the specific check entirely.
Target
Filesystem
Scanner
Misconfiguration
The text was updated successfully, but these errors were encountered: