-
-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CycloneDX BOM validation fails for git style externalReferences #3885
Comments
@jkowalleck Do I remember correctly that you did something in cyclonedx-node-npm to fix / re-map SSH URLs? |
You rememberer correctly, we do. Even though a |
@jkowalleck Shall I raise an issue on https://github.com/CycloneDX/cyclonedx-node-npm/issues ? |
Why not. here you go: https://github.com/CycloneDX/cyclonedx-node-npm/issues/new?assignees=&labels=bug&projects=&template=2-bug_report.md&title=%5BBUG%5D |
I have the same issue trying to upload an SBOM generated with https://github.com/CycloneDX/cyclonedx-dotnet . When I try to upload to dependency track I get this error. Should I also open an issue there as well?
|
@Recurse-blip , sure. |
Is there anything expected from DT here? Can we close this? To my understanding we're merely enforcing the schema, and there's not much we can do about this. On a related note, #3891 should allow users to disable / enable validation using tags. That way, it's not necessary to globally disable validation, only because a handful ob projects is blocked by invalid BOMs. |
Can be closed |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Current Behavior
externalReference
is added containing the git url of the project, i.e.git@gitlab.dontcare.com:group/repo.git
Steps to Reproduce
When changing the value to
git@gitlab.dontcare.comgroup/repo.git
validation passes.Expected Behavior
Not sure as
git@gitlab.dontcare.com:group/repo.git
is not a valid URI so probably also not a valid IRI?I am still reporting it here to see what/if we can do something and for other that run into the same issue.
It looks like #3831, but really isn't.
ssh://git@gitlab.dontcare.com:group/repo.git
also fails validation.Maybe cyclonedx shouldn't output invalid URIs/IRIs?
Dependency-Track Version
4.11.4
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
15
Browser
Google Chrome
Checklist
The text was updated successfully, but these errors were encountered: