Prepare for v0.54.0 #7248
Closed
DmitriyLewen
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Draft to collaborate on v0.54.0
📑 Table of Contents
--vuln-typeflag has now been renamed into--pkg-types✅Tumbleweed OpenSUSE✨Azure Linux 3.0support 🦋pnpm-lock.yamlfiles 📜SPDXformats 📕Azure China Cloud☁️CycloneDXandSPDXformats contain image labels 🏷️🛫 Deprecation 🌆
🐹
--vuln-typeflag has now been renamed into--pkg-types✅--vuln-typeflag was added in one of the first versions of Trivy.Now more and more users use SBOM, and this flag works with
Packages, notVulnerabilities.To match our functionality, we are renaming
--vuln-typeflag to--pkg-typesflag.--vuln-typeflag is now marked as deprecated and will be removed over time.🚀 What's new? 🚀
🕸️ VEX Hub Support 📡
This update introduces VEX Hub integration into Trivy. Users can now automatically discover and apply VEX data during vulnerability scans, leveraging community-maintained VEX information to filter out non-exploitable vulnerabilities. This greatly helps to reduce noise in vulnerability scan results.
--vex repocreates the default configuration file in the first run. While the default config refers to VEX Hub, you can also use other repositories complying with VEX Repository Specification.See here for more details.
For OSS maintainers: please consider publishing VEX.
📄 VEX Attestations from OCI Registries 🌐
Trivy now automatically retrieves and applies VEX (Vulnerability Exploitability eXchange) attestations from OCI registries during vulnerability scans. This feature leverages VEX data to filter out non-exploitable vulnerabilities more effectively.
See here for more details.
📦 Package Relationships Filter 🔄
This update introduces the
--pkg-relationshipsflag, allowing users to filter vulnerabilities by package relationships. This flag provides more refined vulnerability reporting by focusing on direct or indirect dependencies.Note: The
--pkg-relationshipsflag cannot be used with--dependency-tree,--vex, or SBOM formats (spdx, spdx-json, cyclonedx, github).Read more here.
🦎 Support for detection and scanning of
Tumbleweed OpenSUSE✨Trivy now supports package and vulnerability detection for
Tumbleweed OpenSUSEюThanks to @msmeissn
🖥️
Azure Linux 3.0support 🦋Now Trivy supports
Azure Linux 3.0(previouslyCBL-Mariner).Thanks to @tofay
📋 Support for License Detection for
pnpm-lock.yamlfiles 📜Trivy currently parses
package.jsonfiles from thenode_moduledirectory to determine the licenses of installed packages.Thanks to @oscarbc96
🔓 Vulnerability support for
SPDXformats 📕Trivy can now include vulnerabilities in
externalRefsto add link to the advisory.See Appendix K for more details.
Don't forget to use
--scanners vulnto enable advisories.➜ trivy -d image -f spdx-json -o report.spdx.json ubuntu --scanners vuln ... { "name": "libssl3t64", "SPDXID": "SPDXRef-Package-ed46e6c8dd5adb2d", "versionInfo": "3.0.13-0ubuntu3.1", "externalRefs": [ { "referenceCategory": "PACKAGE-MANAGER", "referenceType": "purl", "referenceLocator": "pkg:deb/ubuntu/[email protected]?arch=amd64\u0026distro=ubuntu-24.04" }, { "referenceCategory": "SECURITY", "referenceType": "advisory", "referenceLocator": "https://avd.aquasec.com/nvd/cve-2024-2511" }, { "referenceCategory": "SECURITY", "referenceType": "advisory", "referenceLocator": "https://avd.aquasec.com/nvd/cve-2024-4603" }, ...Thanks to @goneall
🪭 Support of ACRs in the
Azure China Cloud☁️Added configuration to support ACRs in the
Azure China Cloud.Thanks to @admanb
🔖
CycloneDXandSPDXformats contain image labels 🏷️Currently you can find image labels in
CycloneDXandSPDXreports:CycloneDXreports.SPDXreports.👷♂️ Notable Fixes 🛠️
0-9a-zA-Zbefore secret #7176latestis used as a package version #6747--tf-vars#7084bytes.IndexinemptyLineSplitto cut allocation #7065Beta Was this translation helpful? Give feedback.
All reactions