Skip to content

Unclear definition of serialNumber and version #363

Open
@mmarseu

Description

@mmarseu

I find the interaction between the serialNumber and version of a BOM very unclear.

The definition in CycloneDX 1.5 says (highlighting mine):

  • serialNumber

    Every BOM generated SHOULD have a unique serial number, even if the contents of the BOM have not changed over time. If specified, the serial number MUST conform to RFC-4122. Use of serial numbers are RECOMMENDED.

  • version

    Whenever an existing BOM is modified, either manually or through automated processes, the version of the BOM SHOULD be incremented by 1. When a system is presented with multiple BOMs with identical serial numbers, the system SHOULD use the most recent version of the BOM. The default version is '1'.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions