Skip to content

Conversation

@omidtavakoli
Copy link
Contributor

npm sbom createa an invalid serialNumber like this "serialNumber": "urn:uuid:***" in NodeJsDependencyGenerator. This MR handles and introduces tests on the plugin

@omidtavakoli omidtavakoli self-assigned this Nov 14, 2025
@omidtavakoli omidtavakoli marked this pull request as ready for review November 14, 2025 09:47
Copy link
Contributor

@ocristian ocristian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we also discussed removing that field from the JSON, right? Wouldn’t it be less work to simply remove it? If I remember correctly, @omidtavakoli confirmed that DependencyTrack does not require it.

@omidtavakoli
Copy link
Contributor Author

@ocristian We discussed at the same time to generate the field in the plugin if it was including the *** to not break DependencyTrack in future if it there was an update which uses that field

@omidtavakoli omidtavakoli marked this pull request as draft November 14, 2025 12:14
@omidtavakoli omidtavakoli marked this pull request as ready for review November 14, 2025 15:25
@omidtavakoli omidtavakoli merged commit f1987ee into main Nov 17, 2025
1 check passed
@omidtavakoli omidtavakoli deleted the handle-invalid-serialNumber-sbom branch November 17, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants