-
Notifications
You must be signed in to change notification settings - Fork 98
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
Import Component without a PURL (or type) from a CDX 1.4 SBOM #1249
Comments
In ScanCode.io the PURL is the identifier of Packages, making the
I can see 2 approaches to this:
DejaCode also supports a |
Some thoughts:
"Map these to a package and PURL in SCIO" is likely the better option and we could also promote this with the PRUL spec so everyone can benefit.
@tdruez overall, I am seconding your approach to "Set a generic/unknown type when no type value is provided so the Package can be created (assuming at least a name is available). This requires very small code modification." |
So can we use unknown/unknown for the type/namespace? or do we just skip namespace since we do not know whether namespace will have any meaning in this context. I think that we can start with just pkg:/unknown/name&version |
We can skip |
Signed-off-by: tdruez <tdruez@nexb.com>
Merged in #1251 |
Looks good from my testing |
We have recently received some CDX 1.4 (JSON) SBOMs generated with Black Duck tools. There is a pattern of Components (CDX terminology) without PURLs that were processed as Error Messages from the SCIO load_sbom pipeline.
The pattern for the Error Messages is:
There are several potential issues here:
SCIO version is 34.4.0 on deja08.
The text was updated successfully, but these errors were encountered: