You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed parsing of file should be flagged in the project #2890
When uploading a cyclonedx 1.5 format file, the file is seemingly received, but will silently fail in the background as it is parsed.
Steps to Reproduce
Upgrade cdxgen to 9.1.1, which will create a cyclonedx 1.5 file
Upload file through /api/v1/bom . This returns 200 ok, just as the same configuration with cxdgen 8.6.1, which works, does
The file will be parsed asynchronously, and fail because the format is not supported.
The gui will stay stable, and the only hint that something is off is that the last uploaded field will not be updated
Expected Behavior
when parsing of a file fails for whatever reason I would have expected
a flag in the project gui saying that the last upload had problems, expanding to a description of the actual error if clicked. This is important because it will shorten the time the project team will spend trying to chase down something that doesn't work - or believing the old information in the gui, if the timestamp for the upload is not noticed.
the ability to download the last uploaded sbom, to see whether an integration has mangled the file
in the administration console, a log of asynchronous actions with an ok/error status, and the same information returned in the project gui. Parsing of the uploaded file is obviously an asynchronous operation. If it fails it would be good to see it somewhere else than the log.
Activity
geirhede commentedon Jul 16, 2023
Unsure whether this should be a defect or an improvement. As it caused our flow of vulnerability data to stop I landed on a defect.
nscuro commentedon Jul 17, 2023
This reads like a continuation of #2264.
As of #2600 (DT v4.8.0), there is also a notification that will be sent when asynchronous BOM processing failed.
I'll relabel as enhancement, as this is definitely new functionality that would need to be added.