Application#libraries has been renamed to Application#packages in Trivy 0.51.2. The Library type no longer exists.
It's not possible to tell the Trivy version based on its API. To work around this, we now send both the packages and libraries fields with redundant information.
Fields that the API does not expect are silently ignored.
Description
Handles breaking change in Trivy server API.
Application#libraries
has been renamed toApplication#packages
in Trivy 0.51.2. TheLibrary
type no longer exists.It's not possible to tell the Trivy version based on its API. To work around this, we now send both the
packages
andlibraries
fields with redundant information.Fields that the API does not expect are silently ignored.
Addressed Issue
Fixes #3737
Additional Details
N/A
Checklist