You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example:
there is elasticsearch-7.10.2.jar file built from source (sha1 for file != sha1 from trivy-java-db).
So we try to find GroupID by ArtifactID.
Trivy currently takes GroupID with maximum number of versions:
POM was determined in a heuristic way {"file": "elasticsearch-7.10.2.jar", "artifact": "software.amazon.awssdk:elasticsearch:7.10.2"}
Description
When we determinate jar package by file name (
trivy/pkg/javadb/client.go
Lines 145 to 176 in ad977a4
But we also should check that required version (version from file name) exists.
Discussion about this case - #5577
Example:
there is
elasticsearch-7.10.2.jar
file built from source (sha1 for file != sha1 from trivy-java-db).So we try to find GroupID by ArtifactID.
Trivy currently takes GroupID with maximum number of versions:
But
software.amazon.awssdk:elasticsearch
doesn't have 7.10.2 version - https://mvnrepository.com/artifact/software.amazon.awssdk/elasticsearchThe text was updated successfully, but these errors were encountered: