v0.41.0 #4135
aqua-bot
announced in
Announcements
v0.41.0
#4135
Replies: 0 comments
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.
💿 SBOM support for VM images 🖥️
Trivy can now generate SBOM such as CycloneDX and SPDX for VM images.
Just like other targets, all you need to do is specify
--format
.🫖 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.
Thanks @thevibegod!
🐳 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.
Thanks @aswath-s-tw!
📄 SPDX 2.3 🐧
Trivy now outputs SPDX 2.3 with
--format spdx
and--format spdx-json
.See here for the SPDX detail.
Thanks @FrimIdan!
🧾 Custom Compliance reports with
config
andfs
sub-commandsTrivy now support generation of custom compliance reports with
config
andfs
sub-commands.This capability enables the user to provide custom compliance specifications with an input resource folder and
trivy
will produce the compliance report accordingly.trivy config ~/data/input.json --compliance=@/Users/name/data/custom_spec.yaml --report summary
See here for more details on compliance Reports.
Beta Was this translation helpful? Give feedback.
All reactions