DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.

Home Page:https://dependencytrack.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't upload BOM

leo-beliakov opened this issue · comments

Current Behavior

When I'm trying to upload the BOM, I'm getting the following error:
Missing required creator property 'bom'

Steps to Reproduce

To generate the BOM I use cycloneDX and I set schema version to 1.5 or 1.4 or 1.2

To upload the BOM I use the following command:

curl -X "PUT" "http://localhost:8081/api/v1/bom" \
     -H 'Content-Type: application/json' \
     -H 'X-API-Key: odt_PacJhjzAWPGoPD5ouDD4yjA6OPnCKtgj' \
     -d @/Users/Leo/Downloads/bom.json

Expected Behavior

I expect my BOM to be uploaded successfully

Dependency-Track Version

4.10.0

Dependency-Track Distribution

Container Image

Database Server

N/A

Database Server Version

No response

Browser

Google Chrome

Checklist

It should have been payload.json instead of bom.json.