whitesource-ps / ws-sbom-generator

WS SBOM Report Generator in SPDX or CycloneDX format
Apache License 2.0
31 stars 7 forks source link

[CR] [ws-sbom-generator] --file/-f flag for output report name #110

Open chrisdecker1201 opened 2 years ago

chrisdecker1201 commented 2 years ago

Tool: ws-sbom-generator

Planned Changes:

We want to have always the same name for the "WhiteSource SBOM report". At the moment we get "WhiteSource project-frontend SBOM report-SPDX-2.2.json"

Something like that, would be nice or maybe --reportname/-r

ws_sbom_generator -f mend-report.json -t json
DimarrWS commented 2 years ago

Hi @chrisdecker1201 ! It is possible to do.

AlexWilson-GIS commented 2 years ago

This would be helpful for us as well because we like to include the URL of the repository being scanned in the corresponding project's name in the Mend dashboard, and the default behavior of naming the SPDX file the project name causes file system errors due to the slashes included in the name.