-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bom-ref, Description, PURL (and maybe also other information) is not taken from BOM #2373
Comments
Not currently supported. |
@nscuro we will need a way to add support for this if asserted in BOM or if the project metadata is edited, but we will also need a way to lock the fields so that they cannot be overwritten. |
This will likely tie into support for |
@stevespringett : Many thanks for you explanations. As I have understood this is more a feature request than a bug, please feel free to close this issue, or keep it open, transfer to discussion, or whatever you would like to do with it. |
@stefanCCS: as you can see, the issue was converted from defect to enhancement. And assigned priority p2 (which you can take as a compliment 😄 ) @stevespringett, how about adding support for an additional project-level comment field? This should allow "Description" to be locked down AND allow for users to record notes. |
Good idea @msymons |
I'd like to see this feature supported too. It would also be nice if the project name and version were taken from the SBOM rather than having to be specified on the POST. In fact, it would be convenient for me if I could just POST the SBOM with a Content-Type of 'appplication/json' and have everything driven from the SBOM contents. |
Current Behavior
I put a BOM to Dependency Track using the REST-API like this (Windows-Curl):
In general, the Project is created including a vulnerable library (intended), which is also found.
BUT, neither the BOM-REF and PURL nor the DESCRIPTION is taken.
See here:
My CycloneDX-File looks like this:
And even the
bom-ref
looks like not to be taken over.If I do a download of the bom from this project/version I get:
==> please clarify.
Steps to Reproduce
See above.
Expected Behavior
Data is taken over from BOM.
Dependency-Track Version
4.7.0
Dependency-Track Distribution
Container Image
Database Server
N/A
Database Server Version
No response
Browser
Google Chrome
Checklist
The text was updated successfully, but these errors were encountered: