Consider bumping default BOM export version to CycloneDX 1.6 #6167
aluqmanj-ni
started this conversation in
General
Replies: 0 comments
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.
-
The
GET /api/v1/bom/cyclonedx/project/{uuid}endpoint defaults to CycloneDX 1.5 when theversionquery parameter is not specified:dependency-track/src/main/java/org/dependencytrack/resources/v1/BomResource.java
Line 122 in dcaee5d
Since DT 4.14 already supports ingesting CycloneDX 1.6 BOMs, would it make sense to bump this default to
"1.6"? The UI "Download BOM" button doesn't pass theversionparameter, so users always get a 1.5 export unless they call the API directly with?version=1.6.Suggestions (in order of preference):
DEFAULT_EXPORT_VERSIONto"1.6"- minimal change, aligns with the latest supported schema.BOM_VALIDATION_MODE) so teams can set their preferred export version without rebuilding.Beta Was this translation helpful? Give feedback.
All reactions