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

Fixing error in JSON output w/ OS matches #61

Merged
merged 2 commits into from
May 15, 2023
Merged

Fixing error in JSON output w/ OS matches #61

merged 2 commits into from
May 15, 2023

Conversation

noqcks
Copy link
Collaborator

@noqcks noqcks commented May 15, 2023

#33 introduced a bug that would cause JSON output to fail. This was reported in #60

The reason is that the "OS" package type is not supported by Syft and was being checked against the list of packages returned from our syft ouput. We are now handling this special case separately.

I added additional tests to catch this failure mode in the future.

Signed-off-by: Benji Visser <benji@093b.org>
@noqcks noqcks changed the title Fixing error in JSON output Fixing error in JSON output w/ OS matches May 15, 2023
Signed-off-by: Benji Visser <benji@093b.org>
@noqcks noqcks merged commit e30a2ae into main May 15, 2023
@noqcks noqcks deleted the benji/issue-60 branch May 15, 2023 20:26
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

Successfully merging this pull request may close these issues.

1 participant