-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: support for Metadata.tools
format intrduced with CDX 1.5
#1152
Comments
The expected result would be a data model
This new
Architecture-wise, the following new static function would be created:
Since the new data model - regardless if it reuses the existing name Services are a feature of #1164 |
Thank you for the feature request, @WIStudent . |
@jkowalleck I am currently not planing to implement this, I am still evaluating if CycloneDX is the right tool for my usecase. I ran into this problem when I was trying to merge two SBOMs that were created with @cyclonedx/node-npm and cyclonedx-maven-plugin using the cyclonedx-cli. When creating a v1.6 SBOM, cyclonedx-maven-plugin uses the new For now I am telling cyclonedx-maven-plugin to generate a v1.4 SBOM, that way all |
regardles of this very feature request here:
Could you report this use case and the expected outcome to cyclonedx-cli? The project team then might decide whether this is a feature request or a bug report, and how to proceed. |
Metadata.tools
format intrduced with CDX 1.5
For completeness: Here is the issue I opened in cyclonedx-cli CycloneDX/cyclonedx-cli#408 |
downstream usage as requested: CycloneDX/cyclonedx-node-npm#1233 |
I will work on a solution. stay tuned 🚀 |
feature preview available as of https://github.com/CycloneDX/cyclonedx-javascript-library/releases/tag/v7.0.0-beta.1 |
v1.5 introduced a new format for the
metadata.tools
field: https://cyclonedx.org/docs/1.5/json/#metadata_toolsIt seems that
@cyclonedx/cyclonedx-library
currently only supports the legacy format:cyclonedx-javascript-library/src/models/metadata.ts
Line 31 in bdbe727
cyclonedx-javascript-library/src/models/metadata.ts
Line 43 in bdbe727
cyclonedx-javascript-library/src/models/tool.ts
Lines 25 to 59 in bdbe727
This prevents other tools like
@cyclonedx/cyclonedx-npm
from creating v1.5 or v1.6 SBOMs with the newtools
format.The text was updated successfully, but these errors were encountered: