SPDX decoding: fill Package Locations field from most appropriate File <-> Package relationship
- Dominant language
- Go
- Stars
- 9.6k
- Forks
- 962
- Avg merge
- 23h 27m
- Merged PRs (30d)
- 48
Description
**What would you like to be added**:
I run the SBOM scanning using grype. It generated the **vulnerability JSON**. However, it doesn't contain location of the package installed. It is only present in the SBOMs.
If the package location can be added, then I dont have to go through where the package is coming from.
**Why is this needed**:
In order to resolve the vulnerability, I open the JSON, find the package affected and search the purl in the SBOMs to find where it is installed. Is there a way I can avoid that manual step ?
For containers SBOM, anyone can find the package managers location and find the version that is installed. But for file system SBOM it is difficult to find where the package is installed. Currently, I have to go back to SBOMs to manually find the purls and then location field from original SBOM provides the location.
**Additional context**:
Contributor guide
Research direction
No files, tests, or entry points are named. Start by locating the SPDX decoding path and how File-to-Package relationships are represented, then trace how vulnerability JSON is produced. Done means the output includes the most appropriate installed package location without requiring a separate SBOM lookup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100