You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Bom.metadata.tools are found empty, this library adds an entry to it, to represent itself.
This might look like a cute idea at first, but it alters the original data on deserialization:
when deserialization of a CycloneDX BOM that did not hold any data about tools, the library will add itself to the tools. This is unexpected behavior.
A suitable solution would be to add this library not to the SBOM at all.
Instead, the library should provide functionality in the form of a builder, to generate itself's representation as a tool/component, so that downstream users may use it.
Activity
jkowalleck commentedon Sep 16, 2024
this is considered a breaking change, as existing behaviour is modified
fix issue #673
fix issue #673
feat: don't add self to `metafata.tools` (#674)
jkowalleck commentedon Sep 16, 2024
implementation finished
jkowalleck commentedon Oct 14, 2024
was released via https://github.com/CycloneDX/cyclonedx-python-lib/releases/tag/v8.0.0