Merging SBOMs with overlap in their dependencies results in duplicates
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
No file or test is named in the issue. First reproduce the deep merge with two SBOMs containing dependencies that share an SPDXID, then trace the merge entry point and inspect how duplicate dependency entries are handled. Done means the merged SBOM contains one unique entry for each shared SPDXID and preserves valid entries from both inputs.
Written by the indexing model from the issue text.
Description
I generated SBOMs for a frontend and a backend application container image.
Dependencies that exist in both images have the same SPDXID assigned by the tool in each SBOM file.
As I would like to have a single SBOM, I tried to merge these SBOM files using the deep merge feature.
This results in the new SBOM file containing two instances of these dependencies with the same SPDXID.
Should duplicate entries not have been mergen into a single unique entry?
- Dominant language
- Python
- Stars
- 53
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from philips-software/SPDXMerge
-
action-required secrets-rotation security
Difficulty 1/5 1-3 hours Newbie friendliness 20/100
philips-software/SPDXMerge#161 ·
-
Version Doesn't WorkOpen
Difficulty 3/5 1-2 days Newbie friendliness 45/100
philips-software/SPDXMerge#144 · 2 comments ·
-
Tools fails to runOpen
Difficulty 3/5 1-2 days Newbie friendliness 45/100
philips-software/SPDXMerge#143 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
philips-software/SPDXMerge#117 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
philips-software/SPDXMerge#69 · 1 reaction ·
All issues in philips-software/SPDXMerge
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day