Skip to content
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

Not able to generate SBOM in json format #278

Open
sgugale opened this issue Nov 1, 2022 · 4 comments
Open

Not able to generate SBOM in json format #278

sgugale opened this issue Nov 1, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@sgugale
Copy link

sgugale commented Nov 1, 2022

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:

  1. Download sbom-spdx-generator binary for the windows
  2. Run sbom-spdx-generator -f json
  3. Observe the SBOM file in spdx format

Can someone please help me on this?

@sgugale sgugale added the bug Something isn't working label Nov 1, 2022
@arvchristos
Copy link

This is still an issue, came here to report exactly the same

@nishakm
Copy link
Collaborator

nishakm commented Jan 3, 2023

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.

@netomi
Copy link

netomi commented Mar 5, 2023

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 outputbom-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

@manifestori
Copy link

@nishakm can you create a new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants