Open sgugale opened 2 years ago
This is still an issue, came here to report exactly the same
Thanks for filing this issue. Since we're new to the project, we're still trying to understand how badly this feature is broken. Lots of other functions are broken as well. We're working to fix the project core. Sorry about this and thanks for your patience.
Cloning the repo and running it with the -f json flag, produces json output for me:
tn@proteus:~/workspace/eclipse/spdx-sbom-generator$ ./bin/spdx-sbom-generator -f json INFO[2023-03-05T16:20:36+01:00] Starting to generate SPDX ... INFO[2023-03-05T16:20:36+01:00] Running generator for Module Manager:
go-modwith output
bom-go-mod.json INFO[2023-03-05T16:20:36+01:00] Current Language Version go version go1.19.6 linux/amd64 INFO[2023-03-05T16:20:36+01:00] Global Setting File INFO[2023-03-05T16:20:40+01:00] Command completed successful for below package managers INFO[2023-03-05T16:20:40+01:00] Plugin go-mod generated output at bom-go-mod.json
@nishakm can you create a new release?
I want to generate SBOM in the JSON format. I used -f flag to do so. But not able to change the spdx (default format).
I have followed the below steps:
Can someone please help me on this?