--skip-files
does not work with globs
#4002
Labels
kind/bug
Categorizes issue or PR as related to a bug.
--skip-files
does not work with globs
#4002
Description
The docs mention that it should be possible to use globs with the
--skip-files
option (source), i.e.:What did you expect to happen?
The following command - not using globs - successfully works in skipping the file. No CVEs are flagged for
opt/bitnami/common/bin/gosu
:I tired multiple variations of using glob patterns, but none of them seem to work and skip the
opt/bitnami/common/bin/gosu
file, resulting in the report containing the respective CVEs. Examples of glob patterns I tried:Output of run with
-debug
:Output of
trivy -v
:The text was updated successfully, but these errors were encountered: