-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Unclear definition of serialNumber and version #363
Comments
In the event a minor modification to an existing BOM needs to be made. This use case was documented in section 3.2 of the NTIA SBOM Framing Document, which calls for:
CycloneDX handles this through the See also: https://cyclonedx.org/guides/sbom/object-model/#bom-identity |
Thank you for clarifying!
I found this, too, when looking for answers but it just reiterates what's written in the spec. Would you be open to modifying the definition of Are there any guidelines as to what constitutes a minor change (i.e., version bump) vs a major change (i.e., new serial)? I'm a practitioner of SBOMs, not a spec writer. So my field-of-view of the SBOM's use cases is very narrow and only encompasses what we're aiming to use them for at our company. That said, I'm trying to get a feeling for how to handle SBOM versioning, so here's me, thinking out loud, and I hope you can give me some feedback: In practice, I'm going to be searching for BOMs in some sort of repository based on the With that in mind, the following requirements would serve our use case:
As somebody which a much broader view of SBOM use cases, would you say we're "doing CycloneDX wrong" by going this way? |
related: #474 |
related: #97 |
I find the interaction between the
serialNumber
andversion
of a BOM very unclear.The definition in CycloneDX 1.5 says (highlighting mine):
serialNumber
version
The first implies that any time a BOM is written (even if nothing has changed), it gets a new serial. The second implies that the same serial can exist in several versions.
Given the definition of
serialNumber
, in which scenario would I modify a BOM and keep the old serial while incrementing the version?Some other resources discussing
serialNumber
are #11 and #97 but in neither do I find an answer.The text was updated successfully, but these errors were encountered: