Skip to content
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

Parse CycloneDX SBOMs to URL or Package, as appropriate. #839

Open
mchernicoff opened this issue Jan 28, 2025 · 0 comments
Open

Parse CycloneDX SBOMs to URL or Package, as appropriate. #839

mchernicoff opened this issue Jan 28, 2025 · 0 comments
Assignees
Labels
product: hc Relates to the core "hc" binary type: enhancement New feature or request
Milestone

Comments

@mchernicoff
Copy link
Contributor

mchernicoff commented Jan 28, 2025

Currently we parse all CycloneDX SBOMs to a repo URL, regardless of the SBOM's component pURL type. But this is actually doing two steps at once: parsing the target from the pURL and then resolving the target to a git repo URL. Instead, we should treat the pURL like a pURL given as a target, returning a GitHub repo URL, Maven POM file URL, or NPM or PyPI package as appropriate.

Edit: Currently an NPM or PyPI package passed from a CyclconeDX SBOM requires a --ref flag because we do not keep the version information. This fix would make that flag optional when the version is provided in the SBOM's pURL.

@mchernicoff mchernicoff added product: hc Relates to the core "hc" binary type: enhancement New feature or request labels Jan 28, 2025
@mchernicoff mchernicoff added this to the 3.11.0 milestone Jan 28, 2025
@j-lanson j-lanson moved this to In Progress in Hipcheck Product Roadmap Feb 24, 2025
@alilleybrinker alilleybrinker modified the milestones: 3.11.0, 3.12.0 Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: hc Relates to the core "hc" binary type: enhancement New feature or request
Projects
Status: In Progress
Status: Todo
Development

No branches or pull requests

3 participants