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

Error with CSV output #139

Open
ptader opened this issue Oct 21, 2024 · 0 comments
Open

Error with CSV output #139

ptader opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ptader
Copy link
Contributor

ptader commented Oct 21, 2024

What happened:
When using the -o csv option with Grant, an error occurs while -o json and -o table work as expected.

What you expected to happen:
Had hoped to see Grant output in CSV format

Steps to reproduce the issue:
Ran with the -o csv option

# grant check -o csv -c grant.yaml sbom.spdx.json
 ⠙ Checking licenses  ━━━━━━━━━━━━━━━━━━━━
[0001] ERROR unable to get license by ID: LicenseRef-public-domain; no matching spdx id found
[0001] ERROR unable to get license by ID: LicenseRef-BSD-3-clause-Cambridge; no matching spdx id found
<snip>
unable to render report for inputs [sbom.spdx.json]: invalid format: csv; valid formats are: [json table csv]

Anything else we need to know?:
Config file attached.

Environment:

  • Output of grant version: grant 0.2.2
  • OS Ubuntu 20.04.6 LTS / MacOS 14.6.1

grant.yaml.zip

@ptader ptader added the bug Something isn't working label Oct 21, 2024
@kzantow kzantow moved this to Ready in OSS Oct 28, 2024
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
Status: Ready
Development

No branches or pull requests

1 participant