Replies: 2 comments 1 reply
-
Hello @ryukez You need to update Trivy to see PkgPath:
About layers - i will investigate this issue and write to you. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
1 reply
-
I created #5430 for layer issue. |
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
-
Description
Hi, developers. Thank you always for developing great product!
When we use SBOM as an intermediate for vulnerability scanning, information such as PkgPath, Layer is lost in vulnerability scan report.
Here, using SBOM as an intermediate means:
trivy image python:3.9.18-slim-bullseye --format cyclonedx > sbom.json
)trivy sbom sbom.json --format json > vuls.json
)Desired Behavior
We expect original artifact information is saved. For example, in case of
python:3.9.18-slim-bullseye
, here is the result of direct vulnerability scanning (trivy image python:3.9.18-slim-bullseye --format json > vuls.json
):Actual Behavior
Information such as PkgPath, Layer is lost. Here is the result of 2-step scan with SBOM intermediate:
Reproduction Steps
Target
SBOM
Scanner
Vulnerability
Output Format
CycloneDX
Mode
Standalone
Debug Output
trivy image python:3.9.18-slim-bullseye --format cyclonedx > sbom.json --debug
trivy sbom sbom.json --format json > vuls-sbom.json --debug
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions