DependencyTrack / DependencyTrack/dependency-track
when uploading a BOM via API will fail
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
The defect may already be reported! Please search for the defect before creating one.
### Current Behavior:
generate bom.json from gradle ( https://plugins.gradle.org/plugin/org.cyclonedx.bom )
if I upload by using web site, it will work, but api will fail
(1.5.x will work, but 1.6.x and 1.7.x not)
same bom file, upload from website will work, but api fail
### Steps to Reproduce:
1.generate bom.json from gradle
plugins {
id "org.cyclonedx.bom" version "1.7.1"
}
2.jenkins upload to DT server (from API)
### Expected Behavior:
There should not be an error when uploading the BOM,
### Environment:
- Dependency-Track Version: 4.5.1
- Distribution: Docker
- BOM Format & Version: CycloneDX 1.4 JSON
- Database Server: MSSQL
- Browser: na
### Additional Details:
(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Contributor guide
Assessment
This issue has not been assessed yet.