Prepare for v0.66.0 #9402
Closed
simar7
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.66.0
📑 Table of Contents
🚀 What's new? 🚀
⏱️ Timeout Handling for Cache Database 🔒
Trivy now enforces a timeout on cache database (BoltDB) operations to prevent indefinite hangs when the cache is locked by another process. This change adds a 5-second timeout and clearer error messages (e.g., “cache may be in use by another process”)
Usage
No action required—this behavior is enabled by default.
If you encounter a timeout error as below, ensure no other Trivy instance is running against the same cache before retrying.
See here for details.
🛰️ Use local
.terraformcache for remote models if available 🛋️In this version we've enabled the Terraform plan scanner to load remote modules from the local
.terraformdirectory instead of downloading them from external sources like the Terraform Registry or GitHub, if available. This makes scanning more reliable and independent of network availability.🏎️ Performance 🏎️
📡 Streaming Secret Scanner with Byte Offset Tracking 🎯
Introduces a streaming secret scanner that processes files in fixed-size chunks (64 KB by default) with overlap handling, reducing memory usage on large files while preserving detection accuracy. Internal optimizations also cut allocations and speed up keyword matching. In project benchmarks (300 MB file), we observed ~94% lower peak memory (2.17 GB → 133 MB) and ~86% faster scans (101 s → 14 s).
👷♂️ Notable Fixes 🛠️
package.jsonfile #9349trivy plugin updatecommand removes installed plugins. #9357*.dist-infodir name #9279Metadata.RepoURLfield. #9390fileMetadataComponent #9416Beta Was this translation helpful? Give feedback.
All reactions