Skip to content

fix: apply overlap by ownership removal to dynamically created relationships#3363

Open
kzantow wants to merge 4 commits intoanchore:mainfrom
kzantow-anchore:fix/drop-language-package-after-relationship-processing
Open

fix: apply overlap by ownership removal to dynamically created relationships#3363
kzantow wants to merge 4 commits intoanchore:mainfrom
kzantow-anchore:fix/drop-language-package-after-relationship-processing

Conversation

@kzantow
Copy link
Copy Markdown
Contributor

@kzantow kzantow commented Apr 11, 2026

This PR is a follow-on to a change made to dynamically create ownership-by-file-overlap relationships based on file locations. These dynamic relationships were added after a set of packages were dropped, so the same logic was not applying to them. In particular, this corrects a deficiency in Syft-generated CycloneDX documents, since these should have the correct metadata but do not have the relationships since CycloneDX cannot express that.

Related to at least #3329 and anchore/syft#4760

This PR also seems to reduce memory usage slightly beyond #3355 to the range of ~75-80 MB for the same SBOM.

…hip relationships

Signed-off-by: Keith Zantow <kzantow@gmail.com>
kzantow added 2 commits April 14, 2026 12:36
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow marked this pull request as ready for review April 14, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant