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: typed nils in cyclonedx #3680

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Feb 22, 2025

Description

This PR fixes an issue where "typed nil" values are causing invalid cyclonedx to be generated with components containing "hashes": null, which does not pass JSON validation.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added unit tests that cover changed behavior
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

Signed-off-by: Keith Zantow <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

1 participant