CycloneDX / CycloneDX/cyclonedx-cli

SBOM conversion issue.

Open
#385 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
541
Forks
82
PR merge metrics
No merged PRs in 30d

Description

This may not even be an issue, but the spdx to CycloneDX converter rejects this string:

"referenceCategory": "PACKAGE-MANAGER"

but accepts

"referenceCategory": "PACKAGE_MANAGER"

It's certainly easy to repair these in any incoming spdx json, but the Microsoft's SBOM generation tool uses the former syntax, so it might be a convenience for those users to accept the sbom it produces.

Love the converter btw.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the SPDX-to-CycloneDX conversion with the two referenceCategory values shown in the issue, then locate the validation or parsing path that rejects PACKAGE-MANAGER. Done means the Microsoft-generated SPDX input is accepted while the existing PACKAGE_MANAGER form continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.