-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Dependency warning for root component only #617
Comments
+1, if I have a self-written product, it's possible that there are no other dependencies, so I don't understand this warning, too. |
@weichslgartner / @italvi - can either of you share the generated SBOM which is generating this warning? |
@madpah The generated SBOM looks like this: {
"dependencies": [
{
"ref": "BomRef.14889545775697233.5684912849841712"
}
],
"metadata": {
"component": {
"bom-ref": "BomRef.14889545775697233.5684912849841712",
"name": "test",
"type": "library",
"version": "1.2"
},
"timestamp": "2024-09-04T08:40:12.747535+00:00",
"tools": [
{
"externalReferences": [
{
"type": "build-system",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/actions"
},
{
"type": "distribution",
"url": "https://pypi.org/project/cyclonedx-python-lib/"
},
{
"type": "documentation",
"url": "https://cyclonedx-python-library.readthedocs.io/"
},
{
"type": "issue-tracker",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/issues"
},
{
"type": "license",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE"
},
{
"type": "release-notes",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md"
},
{
"type": "vcs",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib"
},
{
"type": "website",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/#readme"
}
],
"name": "cyclonedx-python-lib",
"vendor": "CycloneDX",
"version": "7.3.4"
}
]
},
"serialNumber": "urn:uuid:fada3ca3-48c5-4c11-b12d-20e3cafcf37f",
"version": 1,
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6"
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I create an SBOM with only a root component as follows:
I get the warning:
I can validate this SBOM with sbom-utility and to my understanding this is a valid SBOM. There should be no warning, or?
I use version cyclonedx-python-lib version 7.3.4 and Python 3.11.
The text was updated successfully, but these errors were encountered: