# Squashed all layers resolver

**URL:** <https://anchorecommunity.discourse.group/t/squashed-all-layers-resolver/101>\
**Category:** Syft\
**Created:** [August 26, 2024, 11:43am UTC](https://anchorecommunity.discourse.group/t/squashed-all-layers-resolver/101 "2024-08-26T11:43:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimBrown1611](https://yyz2.discourse-cdn.com/free1/user_avatar/anchorecommunity.discourse.group/timbrown1611/32/223_2.png) [@TimBrown1611](https://anchorecommunity.discourse.group/u/TimBrown1611)\
**Post date:** [August 26, 2024, 11:43am UTC](https://anchorecommunity.discourse.group/t/squashed-all-layers-resolver/101/1 "2024-08-26T11:43:19Z")

</div>

Hi!  
I saw an old PR related to try and find out when a package was first added. The PR had few drawbacks, however another suggestion was made and I think it is now more relevant to discuss if it might be useful now for users.  
The goal can be find out in which layer a package (or CVE in case exists) was added to a docker container.  
Here is the link to the PR - [Squashed all layers by tomersein · Pull Request #3138 · anchore/syft · GitHub](https://github.com/anchore/syft/pull/3138)  
Here is the link to the issue - [Enhance scoping selections · Issue #15 · anchore/syft · GitHub](https://github.com/anchore/syft/issues/15)

What do you think?  
It can be a great baseline to the “base-image” resolver in the future.

---

<div class="post-metadata">

**Author:** ![willmurphy](https://yyz2.discourse-cdn.com/free1/user_avatar/anchorecommunity.discourse.group/willmurphy/32/12_2.png) [@willmurphy](https://anchorecommunity.discourse.group/u/willmurphy)\
**Post date:** [September 3, 2024, 1:44pm UTC](https://anchorecommunity.discourse.group/t/squashed-all-layers-resolver/101/2 "2024-09-03T13:44:44Z")

</div>

Hi @TimBrown1611 thanks for the reminder. @wagoodman is taking a look at the PR soon. We’ll follow up on GitHub. I’m closing this thread to keep the conversation in one place.

---

<div class="post-metadata">

**Author:** ![willmurphy](https://yyz2.discourse-cdn.com/free1/user_avatar/anchorecommunity.discourse.group/willmurphy/32/12_2.png) [@willmurphy](https://anchorecommunity.discourse.group/u/willmurphy)\
**Post date:** [September 3, 2024, 1:46pm UTC](https://anchorecommunity.discourse.group/t/squashed-all-layers-resolver/101/3 "2024-09-03T13:46:29Z")

</div>


