Replies: 1 comment
-
|
Track #9416 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi,
I am having spring-boot generated application which has Image build using buildpacks. Buildpack internally use syft to generate SBOM and then output files put into layer's filesystem.
What I found is that those files cannot be parsed by Trivy because of unsupported MetadataComponent type ==
file.When I run syft agains Docker Image there is no error, when I run syft against filesystem, then I get error.
Please take a look into PR #9372 for details.
Thx
Ivos
Desired Behavior
no error
Actual Behavior
error thrown - see debug output
Reproduction Steps
Note: when I run
syft scan docker.io/library/demo:0.0.1-SNAPSHOT -o cyclonedx-jsonagainst Docker Image, Trivy does not fail. For difference, see PR test files.Target
SBOM
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Windows
Version
Latest master from upstream
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions