codefresh-io / steps

36 stars 89 forks source link

PR: Trivy Scanner v0.0.4 - Upgraded to LTS 0.41.0 and Fixed Null Iteration and Skip Empty Report Bugs #579

Closed ziv-codefresh closed 1 year ago

ziv-codefresh commented 1 year ago

Release Notes: Trivy Scanner v0.0.4

Upgrade to Trivy 0.41.0

We have upgraded the Trivy scanner to the official Long Term Support (LTS) version 0.41.0. This version includes several performance improvements, bug fixes, and security updates. We recommend that all users upgrade to this version to take advantage of these benefits.

Fix for Cannot iterate over null error

We have fixed an issue where the scanner would return a Cannot iterate over null error when an image did not have any vulnerabilities. This error has been resolved, and the scanner will now handle these cases gracefully.

Fix for "SKIP EMPTY" report sending

We have fixed an issue where the scanner would send an empty report to the Slack channel even if the image did not have any vulnerabilities. This behavior has been changed to only send reports for images that have vulnerabilities. This change will help reduce noise in your Slack channel and make it easier to focus on images that require attention.