-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
How to remove duplicate entries from file after merge two separate sbom file? #188
How to remove duplicate entries from file after merge two separate sbom file? #188
Comments
yes, I expected these two entries would be merged. I even tried to remove ?type=jar from my PURLs but merge still left them as 2 entries in my combined bom. ` "type": "library", |
I'm also facing this issue. My use case is scanning a Helm chart repository, and I want to scan all images defined by the chart.
This outputs all images that are referenced in the chart. If the rendered Helm chart contains more than one image, duplicate components are likely created in the merged CycloneDX file. My workaround here is to remove the duplicates with
I hope this helps. :-) |
This was fixed in cyclonedx-dotnet-library by CycloneDX/cyclonedx-dotnet-library#199 which included in the 5.4.0 release of that project. This project, cyclonedx-cli, updated to version 6.0.0 of the cyclonedx library with 34382a4#diff-bde0c1a112eb6bb84760539e3dd3fe49d502d6b065bbd2efa005a648f6c236fdR18 which is included with the cyclonedx-cli 0.25.0 release. tl;dr: this issue is fixed in version 0.25.0 of this project. |
How to remove duplicate entries from file after merge two separate sbom file?
I have generated 2 separate sbom file and both files have few common information and i want to create unique entries in sbom file.
The text was updated successfully, but these errors were encountered: