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

Identify wrong BOM format #58

Open
ribbybibby opened this issue Mar 30, 2023 · 0 comments
Open

Identify wrong BOM format #58

ribbybibby opened this issue Mar 30, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ribbybibby
Copy link
Member

If you run tally -o cyclonedx-json bom.json on a syft-json file, it will exit successfully but not print any repositories. This is because the JSON parsing succeeds but there's no check to validate that the fields are what we expect them to be.

We should try and exit out with exit code 1 when the BOM format doesn't match the one we expected.

@ribbybibby ribbybibby added enhancement New feature or request good first issue Good for newcomers labels Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant