-
Notifications
You must be signed in to change notification settings - Fork 587
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
Invalid catalogers are silently ignored #2389
Comments
Hi @selzoc, thanks for the report. Looking at your output I see that Syft is logging an INFO line noting each skipped cataloger. That message might be better being a WARN or even a fatal error. Would changing INFO to WARN solve your problem, do you think? I can see the argument for making it a fatal error, though. |
I don't think changing all the "skipping cataloger" messages to
|
yeah, if there are no catalogers that are ultimately used, this should be an error and exit 1. It seems like a simple check here and return an error around here would do the trick: syft/syft/pkg/cataloger/catalog.go Line 110 in 0e5fb8e
|
Fixed by #1383 |
What happened:
Due to #2277, some catalogers were renamed. As a result, our config file (which had the old names) lead our
syft
scan to produce no packages.What you expected to happen:
syft
to print an error or warning letting us know that our config is invalid.Steps to reproduce the issue:
Anything else we need to know?:
Environment:
syft version
:cat /etc/os-release
or similar):macOS 13.6.2
The text was updated successfully, but these errors were encountered: