-
-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Labels
Description
With DependencyTrack 4.11 validating SBOM with schema validation at upload, I've discovered that some SBOM may have invalid externalReferences.
For example:
"externalReferences": [
{
"type": "vcs",
"url": "git@gitlab.com:behat-chrome/chrome-mink-driver.git"
}
],coming from composer dmore/chrome-mink-driver package.
Indeed, an externalReference should be a iri-reference or a #/definitions/bomLink according to the JsonSchema.
The problem is that git@gitlab.com:behat-chrome/chrome-mink-driver.git is neither a #/definitions/bomLink nor an iri-reference (that should be of the form scheme://... according to the RFC).
If we can "convert" git@gitlab.com:behat-chrome/chrome-mink-driver.git to https://gitlab.com/behat-chrome/chrome-mink-driver.git it would be nice, but if not, we'd better drop the reference than write an invalid one.
mateuszwojtczak, setchy and diegodcp