Prepare for v0.53.0 #7055
Closed
chen-keinan
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.53.0
📑 Table of Contents
💔 Breaking Changes 💔
🌵 Cache Management Flags Removed 🌵
As announced here, the following cache management flags will be removed:
These flags will be replaced by the new
trivy cleancommand.See here for more details.
☁️Trivy AWS is now available via a plugin ☁
As announced before, Trivy's AWS scanning is now offered as a separate plugin. It is no longer shipped with Trivy by default, but can be easily installed as such:
🫓 Trivy misconfiguration schema flattened 🚜
As announced before Trivy's internal cloud schema has been improved to remove potential recursions. This is relevant only for rule authors, and does not effect users.
Kuberetes compliance changes
Trivy now defines a naming convention for compliance reports in the form of:
{platform}-{type}-{version}. Following are the renamed specs:k8s-cis->k8s-cis-1.23k8s-nsa->k8s-nsa-1.0k8s-pss-baseline->k8s-pss-baseline-0.1k8s-pss-restricted->k8s-pss-restricted-0.1docker-cis->docker-cis-1.6.0➗ Trivy now scans
composer.lockfiles only infsandrepomodes. 🧩We have added support for
installed.jsonfiles.So we separated the PHP files:
composer.lockforfsandrepomodes.installed.jsonforimageandrootfsmodes.🚀 What's new? 🚀
🐍 Support for License Detection for
environment.ymlFiles (Conda) 📜Trivy now supports license detection for
environment.ymlfiles by parsing<package.json>files in prefix directory.Read more here.
🔎 Support for determining
Dartdependency version from SDK constraint 🔍For
Dartdependencies that use SDK as version, Trivy now uses the first version of the SDK constraint.For example in this case the version of
flutter_testwill be3.3.0:Read more here.
🗃️ Support for
maven-metadata.xmlformaven snapshot repositories📥Some
maven snapshot repositories(e.g.oss.sonatype.org) usemaven-metadata.xmlwith the latest pom file name.Trivy now parses this file.
If the file doesn't exist or doesn't contain pom file name information - Trivy checks the
<artifactId>-<version>.pomfile (as forreleaserepositories).🎊 Support for
installed.jsonPHP files ✨Trivy now scans
installed.jsonfiles (available inimageandrootfsmodes).Read more here.
🌀 Trivy migrated to
CycloneDX v1.6🌪️Trivy now uses CycloneDX v1.6 for
cyclonedxformat.🧠 Memory Cache Backend ⚡
Trivy introduces a memory cache backend, enhancing scan efficiency for repositories, filesystems, and SBOMs by reducing unnecessary disk I/O operations. By default, memory backend is used for these scan targets, so no changes are required. For container images and VM images, the filesystem cache remains in use, but you can specify
--cache-backend memoryif you don't need a cache for subsequent scans.🧾 Compliance framework improvements ⎈
🥡 Node collector commands ⛏️
The "node-collector" component, that collects data from within nodes for evaluation by checks, is now more flexible and extensible. The Trivy compliance definision now has a new
commandsfield that refers to scriptlets that collect data by the node-collector. The data is then available in rego checks for evaluation. This makes it easier for users to contribute and maintain specs.For example, here's a snippet from the new CIS benchmark for Kubernetes:
for more details check our docs on compliance contribution
🧾 New compliance specs ☑️
We are working on adding more platforms. Please let us know if yould like to help!
🫔 Selector support for all providers 🍏
Trivy now supports selectors and subtypes for all cloud providers.
Previously Trivy only supported AWS and Kubernetes.
🐳 New resources support in misconfiguration scanning 🎍
We have added the following resources as part of our misconfiguration scanning to enhance our scanning posture.
📦 Plugin GitHub Archives Support 🗂️
This update introduces support for nested archives in Trivy plugins. Users can now directly download and install plugins from GitHub repository archives, simplifying the installation process.
👷♂️ Notable Fixes 🛠️
.conan2/pdirectory to detect the license for the v2 lock file. #6931,,or, etc. #6915purlto detectbitnamipkg name #6981artifactIdandgroupIdfrompurlinsbommode #7007metadata.componentinto SBOM format #7050epochif srcEpoch is 0 #6865markRootPkgsfunction #6848Beta Was this translation helpful? Give feedback.
All reactions