CSAF example not working #8165
-
DescriptionHello trivy developers, Unless I am wrong, the "Scan with CSAF VEX" example provided in the v0.58 documentation https://trivy.dev/v0.58/docs/supply-chain/vex/file/#csaf doesn't seem to work as expected: Desired BehaviorI would expect the same behavior described in the mentioned documentation:
Actual Behavior
Reproduction Steps1. Install trivy 0.58
2. Create the CSAF VEX document as described at https://trivy.dev/v0.58/docs/supply-chain/vex/file/#create-the-csaf-document
3. Run `trivy image debian:11 --vex debian11.vex.csaf` TargetContainer Image ScannerNone Output FormatNone ModeNone Debug OutputThe same as the actual behaviour. Operating SystemLinux Version$ trivy --version
Version: 0.58.0
Vulnerability DB:
Version: 2
UpdatedAt: 2024-12-23 18:16:41.542223648 +0000 UTC
NextUpdate: 2024-12-24 18:16:41.542223197 +0000 UTC
DownloadedAt: 2024-12-23 20:05:15.012377942 +0000 UTC Checklist
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @santiagorr CSAF example uses example:
Anyway i created #8166 to update docs Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
-
#8166 was merged |
Beta Was this translation helpful? Give feedback.
Hello @santiagorr
Thanks for your interest to Trivy.
CSAF example uses
distro
qualifier (pkg:deb/debian/[email protected]%2Bdfsg1-0.8?arch=amd64\u0026distro=debian-11.8
).So this purl doesn't match
libdb
from debian11.11
.example:
Anyway i crea…