sbom-utility icon indicating copy to clipboard operation
sbom-utility copied to clipboard

Feature Request - Generate JSON with entire structure

Open celek opened this issue 11 months ago • 0 comments

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"
}]

celek avatar Mar 27 '24 16:03 celek