-
Notifications
You must be signed in to change notification settings - Fork 576
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
Enhance scoping selections #15
Comments
In order to continue with these package de duplication needs to be concluded first (or concurrently) (see #32) |
note: package de-dup is done, so this should be unblocked 🥳 |
There is an extra vote for some of these via #1035 |
Some other related asks:
I believe if we included each layer that a component is present in the locations, in order, that matches the order the container was built, we could be able to answer both of the questions posed:
There would have to be a change somewhere or possibly a new scope to do this (which seems like all-layers might work like this by default -- some aspect of this may actually be done already) such that we don't include layers where we see files introduced but rather we include all layers where files are present. |
I think there is one unsolved problem with this that needs to be addressed early in the design: how will we deal with multiple packages stored in a single file? It could look like that large sets of packages were introduced together in a single layer, when in fact they were introduced across layers. (e.g. RPMs and the RPM DB) |
can be a very useful feature! |
I think we've talked about this as something that exists at the resolver layer which means syft needs the original source when performing the operation that calculates (User Squashed Scope: squashed - base layer). One interesting approach we could take is generalizing it more as a subtraction of SBOM from SBOM. Example:
When syft runs and a user provides the option for This opens the design up so that syft could have a mode where it computes |
We could accomplish something similar using the current |
is it planned to be deployed? |
is it possible to do so without scanning twice the same image? |
please look at this pr and let me know what you think - #3138 |
Add the following user scope selections:
all layers - squashed
all layers - base layer
squashed - base layer
The text was updated successfully, but these errors were encountered: