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

Matcher dispatch should be based on any package quality #2112

Open
wagoodman opened this issue Sep 13, 2024 · 0 comments
Open

Matcher dispatch should be based on any package quality #2112

wagoodman opened this issue Sep 13, 2024 · 0 comments
Labels
breaking-change enhancement New feature or request
Milestone

Comments

@wagoodman
Copy link
Contributor

wagoodman commented Sep 13, 2024

Today we dispatch to the correct matcher(s) based on the PackageType() returned from any given matcher. This isn't very flexible, since it doesn't allow for the ability to introspect package values or metadata to understand if it could make a match.

We should make a (breaking) change to the Matcher interface to allow for more flexibility here.

@wagoodman wagoodman added enhancement New feature or request breaking-change labels Sep 13, 2024
@wagoodman wagoodman added this to the Grype 1.0 milestone Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant