v0.28.0 #2136
aqua-bot
announced in
Announcements
v0.28.0
#2136
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
💔 BREAKING CHANGES 💔
Move
trivy client
totrivy image --server
See here for the detail.
🚀 What's new? 🚀
☸ Kubernetes scanning 🌌
Trivy now can scan kubernetes clusters. It reports vulnerabilities and misconfigurations when scanning a full cluster , namespace or a resource. There is a very helpful summary report to quickly visualize vulnerabilities and misconfigurations.
Eg:
Scan a full cluster:
$ trivy k8s --report summary
Scan a specific resource:
$ trivy k8s service/nginx
Get a json with all the vulnerabitlies and misconfigurations for the kube-system namespace:
trivy k8s --namespace kube-system --format=json -o results.json
Trivy now generates the SPDX report.
SPDX-JSON format is also supported by using
spdx-json
with the --format option.🖍️ New Misconfiguration Output Format 🖼️
The default output format now shows lots of contextual information about each detected misconfiguration, including line numbers, syntax-highlighted code snippets, annotations, and more!
🖌️ Reworked Table Output 🏓
The table output format has been reworked to make use of unicode box drawing characters and ANSI codes to improve user experience and make output consistent across detection types.
🗄️io/fs.FS-based Misconfiguration Scanning ⚙️
The engine used for detecting misconfigurations (defsec) uses the the Go
io/fs.FS
(filesystem) abstraction, making it possible to scan many types of media with the same code. Trivy takes advantage of this in order to scan images and local filesystems with the same underlying code. This also helps to contextualize scanning, e.g. understanding what effect one Terraform file has on another.🪺 Embedded Rego Policies 🔒
Trivy now embeds the Rego policies it uses for misconfiguration detection. These policies are defined in defsec (formerly in appshield), and are now embedded using go:embed, meaning they don't have to be manually downloaded and managed separately.
Changelog
--server
option for remote scans (feat(image): add--server
option for remote scans #1871)This discussion was created from the release v0.28.0.
Beta Was this translation helpful? Give feedback.
All reactions