-
Notifications
You must be signed in to change notification settings - Fork 567
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
Cataloger filtering cross matches wrong catalogers #1573
Comments
Entirely agreed -- this is not correct behavior. We could change the behavior to require matching exactly (instead of Additionally there is a PR that we're looking to get in that would change this behavior for the better #1383 (specifically at https://github.com/anchore/syft/pull/1383/files#diff-e7cb9915335df0e3ab997cf8a7b0574e4a0ecc5dc8db5a9e6ed8ba28eccb325b). The cataloger selection is more explicit and doesn't rely on the |
I've additionally opened up #1578 to capture the fact that this cataloger name is not specific enough for what it does. |
Adding the following test to https://github.com/anchore/syft/blob/main/syft/pkg/cataloger/cataloger_test.go#L27 shows that when requesting only
java-cataloger
, thejavascript-package-cataloger
andjavascript-lock-cataloger
are both enabled, which IMHO is wrong.The text was updated successfully, but these errors were encountered: