Java native image not reporting vulnerabilities #4251
Albertoimpl
started this conversation in
Ideas
Replies: 2 comments 8 replies
-
Is there anything else I can provide to help out with this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not sure if there is anything else I can do to help. I provided a minimal reproducible example. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When compiling a project as a native image, even if there is a BOM layer containing the dependencies, they get ignored and are not reported.
What did you expect to happen?
I expect the same output in the native image and in the regular image.
What happened instead?
Ignores all the Java code.
Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
Created a repo with a reproducible samples and the SBOM for each image downloaded:
https://github.com/Albertoimpl/trivi-native-image-report
To build the image for each project the command is:
Beta Was this translation helpful? Give feedback.
All reactions