v0.73.0 #11033
v0.73.0
#11033
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.
📑 Table of Contents
🚀 What's new? 🚀
JAR licenses from the Jenkins plugin manifest
Trivy now reads the
Plugin-License-Nameattribute fromMETA-INF/MANIFEST.MFwhen detecting JAR licenses.Jenkins plugins (HPI/JPI) declare their license there — it is written by
maven-hpi-pluginfrom the<licenses>section of the plugin's pom, so it is a standardized source that works even when the embeddedpom.xmlis missing.Suffixed variants (
Plugin-License-Name-2,-3, …) are read as well, so multi-license plugins are fully covered.The manifest is used as a fallback in the license source chain: licenses from the embedded
pom.xmlstill take precedence, and packedLICENSEfiles remain the last resort.Thanks to @0xTaoZ
Detection of Seal Security packages by version suffix
Trivy now detects not only Seal packages with a
seal-style name prefix, but also packages that keep their original name and carry a special version suffix (+spN/-spN/.spN).Thanks to @levpachmanov
VEX attestation discovery for OCI images
trivy image --vex ocinow finds VEX attestations that were previously missed:cosign attestproduces by default since Cosign v3 (before, only the legacy.atttag from Cosign v2 was resolved);application/vnd.in-toto+jsonartifact type, as used by Docker Scout and Docker Hardened Images.Attestations that share the same media type but are not VEX (SBOM, SLSA provenance), as well as referrers that cannot be fetched or decoded, are now skipped instead of failing the scan.
The legacy
.atttag is still supported as a fallback.Thanks to @mvanhorn
User-defined Maven mirrors in trivy.yaml
Trivy can now resolve
pom.xmldependencies through Maven repository mirrors configured directly intrivy.yaml, without touching the sharedsettings.xml.This is handy in CI, where editing the global Maven configuration is often impossible or undesirable.
Each entry maps a
sourcerepository URL to an ordered list oftargetsthat mirror it.The targets are tried in order as fallbacks: if one doesn't have the artifact — or answers with
429 Too Many Requests— Trivy moves on to the next.Mirrors from
settings.xmlstill take priority and chain with the ones fromtrivy.yaml.Usage
Note:
mirrorsis a config-file-only option (no CLI flag or env var), and it applies to filesystem/repository scans.👷♂️ Notable Fixes 🛠️
.deps.jsonwith multipletype: projectlibraries #10960 Thanks to @jetersenAll reactions