Skip to content
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

fix: cyclonedx handling of user defined component id #63

Merged

Conversation

ffontaine
Copy link
Contributor

In cyclondx generator, replace self._save_element(product, str(id) + "-" + product, my_id) by self._save_element(product, my_id, my_id) as already done in spdx generator since commit 6b007bf

Otherwise, if the user provides an id through the set_id function, it will not be taken into account

In cyclondx generator, replace
self._save_element(product, str(id) + "-" + product, my_id)
by
self._save_element(product, my_id, my_id)
as already done in spdx generator since commit
6b007bf

Otherwise, if the user provides an id through the set_id function, it
will not be taken into account

Signed-off-by: Fabrice Fontaine <[email protected]>
@anthonyharrison anthonyharrison merged commit 2eaa540 into anthonyharrison:main Feb 28, 2025
1 check passed
@ffontaine ffontaine deleted the fix-cyclonedx-set-id branch February 28, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants