CycloneDX / CycloneDX/cyclonedx-cli

referenceCategory error converting from SPDX to CycloneDX

Open
#316 14 comments 5 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
541
Forks
82
PR merge metrics
No merged PRs in 30d

Description

This is the error the tool throws trying to convert from one format to other.

`The JSON value could not be converted to CycloneDX.Spdx.Models.v2_2.ExternalRefCategory. Path: $.packages[0].externalRefs[0].referenceCategory`

The SPDX file contains this section

```
"externalRefs": [
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceLocator": "pkg:golang/github.com/hashicorp/go-uuid@1.0.2",
"referenceType": "purl"
}
]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.