-
Notifications
You must be signed in to change notification settings - Fork 632
fix: use package language to search when type is unknown #2610
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
fix: use package language to search when type is unknown #2610
Conversation
Previously, this fallback was only used when the package type was blank, but Syft will set the package type to unknown if there is no package type, causing the fallback to language never to be entered, which resulted in some incorrect matches. Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Re-running acceptance tests because it looks like they had a Transient Network Fault (tm) checking the latest version of Cosign. |
LGTM 🙏 🤷
|
Hi, is it confirmed if this PR will be in scope for the next release, and the timeline for the same? |
Could this be the cause for #2618 ? |
@lazka it might be. I will take a look. Thanks for the report! |
The grype version you want was just released today. It is https://github.com/anchore/grype/releases/tag/v0.91.2 |
Previously, this fallback was only used when the package type was blank, but Syft will set the package type to unknown if there is no package type, causing the fallback to language never to be entered, which resulted in some incorrect matches.
Fixes #2608