-
Notifications
You must be signed in to change notification settings - Fork 593
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
remove mod and cargo from image cataloger #539
Conversation
Signed-off-by: Christopher Angelo Phillips <[email protected]>
Benchmark Test ResultsBenchmark results from the latest changes vs base branch
|
I noticed this mentioned earlier today... I wonder, is there a case we have a build image that we want to scan? Maybe a company has a library of build images that have a bunch of tools ready to go to speed things up for CI? ... or a multi-stage build (which would be trickier to scan in the middle) |
Interesting. Are you saying that in this case we don't want to remove these catalogers since these intermediary or build images would have things like |
@spiffcs yeah it seems like there might be some valid use cases for cataloging these things inside containers to me. unless they're causing a distinct problem, i'd probably leave them in -- oh, especially if we're scanning all layers of an image! |
Signed-off-by: Christopher Angelo Phillips <[email protected]>
@wagoodman @luhring You guys brokered this issue. I'm leaning toward agreeing with @kzantow on this one, but you two might have another context that I'm missing. |
Signed-off-by: Christopher Angelo Phillips <[email protected]>
My vote is to proceed with removing them... for now. The intention behind #464 is to make a small change that makes Syft consistent with its own current philosophy as to how image and directory catalogers are determined: image scans show what's positively installed; directory scans show what's described, or what would be installed. Might someone want to scan a |
Cool, I'll follow up with #465 on the configuration aspect right after. @kzantow does that work with you? |
No qualms, was just pointing out that there were valid use cases. As long as we're aware 👍 |
Signed-off-by: Christopher Angelo Phillips <[email protected]>
* remove mod and cargo from image cataloger Signed-off-by: Christopher Angelo Phillips <[email protected]> * update test error messages for clear failures Signed-off-by: Christopher Angelo Phillips <[email protected]>
Fixes #464
""
language to not pollute language map in testOld:
New:
Signed-off-by: Christopher Angelo Phillips [email protected]