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

Feature Request - Generate JSON with entire structure #76

Open
celek opened this issue Mar 27, 2024 · 0 comments
Open

Feature Request - Generate JSON with entire structure #76

celek opened this issue Mar 27, 2024 · 0 comments

Comments

@celek
Copy link

celek commented Mar 27, 2024

I would like to parse the output of the license list summary and process it
Right now summary only supports csv,txt and md
I want to be able to get a JSON file that contains the following structure

> sbom-utility license list -i sbom.json --summary --format json
[{
    "usage-policy": "allow",
    "license-type":  "id",
    "license":  "MIT",    
    "resource-name": "@ace/otc-components-react-3.0.14.tgz",
    "bom-ref":  "",
    "bom-location": "components"
},
{
    "usage-policy": "UNDEFINED",
    "license-type":  "id",
    "license":  "Requires Review",        
    "resource-name": "@ace/otc-components-react-3.0.11.tgz",
    "bom-ref":  "",
    "bom-location": "components"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant