cyclonedx-cli icon indicating copy to clipboard operation
cyclonedx-cli copied to clipboard

When I Upload this BOM Ver 1.5 it is not getting parse in Depedency-track V 4.9.1

Open Linish2020 opened this issue 1 year ago • 1 comments

Cyclonedx (1).json

When I upload this Cyclone dx bom in dependency track server V4.9.1 it is getting failed as per Dependency-track team Null is not allowing to parse file on dependency-track server

Linish2020 avatar Nov 30 '23 13:11 Linish2020

@Linish2020 I think if you replace on line 10 "type": "null", by "type": "application", it should be fixed.

I believe the root cause is that here: https://github.com/CycloneDX/cyclonedx-cli/blob/1034f85e5a757944de460cb843be3fd653bb2116/src/cyclonedx/Commands/Add/AddFilesCommand.cs#L58-L62 a line Type = Component.Classification.Application, is missing.

andreas-hilti avatar Dec 10 '23 17:12 andreas-hilti