Replies: 1 comment
-
duplicate of #6224 |
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
In out build pipeline we use the Trivy generated SBOM and upload it into Dependency Track (https://github.com/DependencyTrack) . Since the latest release 4.11.0 of DT, they validated uploaded BOM against the CycloneDX schema. This leads to validation errors
and Dependency Track stops processing this BOM.
References
DependencyTrack/dependency-track#3741
dotnet/sdk#41057 (comment)
Desired Behavior
The generated SBOM should properly encode special characters in URL. Given this URL
https://github.com/andk/cpanpm/commit/9c98370287f4e709924aee7c58ef21c85289a7f0 (2.35-TRIAL)
should be encoded ashttps://github.com/andk/cpanpm/commit/9c98370287f4e709924aee7c58ef21c85289a7f0%20%282.35-TRIAL%29
Actual Behavior
This URL
https://github.com/andk/cpanpm/commit/9c98370287f4e709924aee7c58ef21c85289a7f0 (2.35-TRIAL)
is output in the BOM as-is. (including parentheses and spaces).complete output report.json
Reproduction Steps
Target
Container Image
Scanner
Vulnerability
Output Format
CycloneDX
Mode
Standalone
Debug Output
Operating System
Windows 10 (10.0.19045 Build 19045),Linux BWP-3260404 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions