Prepare for v0.41.0 #4121
knqyf263
started this conversation in
Development
Replies: 1 comment 1 reply
-
Globstar - wasn't this part of in 0.40? |
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
-
🚀 What's new? 🚀
🛡️ Vulnerability Exploitability Exchange (VEX) 💱
Trivy now supports filtering detected vulnerabilities using the Vulnerability Exploitability Exchange (VEX), a standardized format for sharing and exchanging information about vulnerabilities.
Currently, it supports the following two formats:
You can scan SBOM with your VEX document by
--vex
.Details
See here for more details.
🫖 Show nested JAR paths 📁
Previously, when a JAR file contained another JAR file, only the path of the outermost JAR was included in the JSON output. This could be confusing, especially when a single JAR file contains multiple versions of the same artifact.
Consider an example where
log4j-1.2.12.jar
is contained withintest.jar
:app/test.jar
app/test.jar/test/log4j-1.2.12.jar
Users can now find the
log4j-1.2.12.jar
by extractingtest.jar
. Please note that this full path is only displayed with--format json
and not with--format table
.📜 License confidence level 🎚️
Trivy identifies licenses for dpkg and Go modules by estimating the license type from the contents of the files. By default, only licenses with a high confidence level from the classifier, specifically 0.9 or higher, are detected. By using the
--license-confidence-level
flag, you can change this threshold and detect licenses with a lower confidence level as determined by the classifier.See here for more details.
🐳 Custom Docker host 🌐
If you are using a custom Docker socket (the Docker client will default to connecting to
unix:///var/run/docker.sock
on Linux, andtcp://127.0.0.1:2376
on Windows), you could previously only specify this path using theDOCKER_HOST
env. In this version, the--docker-host
flag has been added, making it possible to configure it via CLI flag as well.See here for more details.
📄 SPDX 2.3 🐧
Trivy now outputs SPDX 2.3 with
--format spdx
and--format spdx-json
.See here for the SPDX detail.
🌟 Globstar support 🌸
Trivy now supports the globstar pattern matching.
Will skip the file named
foo
that happens to be nested under any parent(s).See here for more details.
Beta Was this translation helpful? Give feedback.
All reactions