Skip to content

Description of metadata.supplier is confusing #345

Closed

Description

@nscuro

As of v1.5, the description of metadata.supplier states:

"supplier": {
"title": "Supplier",
"description": " The organization that supplied the component that the BOM describes. The supplier may often be the manufacturer, but may also be a distributor or repackager.",
"$ref": "#/definitions/organizationalEntity"

This is in addition to metadata.component.supplier, which states:

"supplier": {
"title": "Component Supplier",
"description": " The organization that supplied the component. The supplier may often be the manufacturer, but may also be a distributor or repackager.",
"$ref": "#/definitions/organizationalEntity"
},

Based on those descriptions, it is unclear what the subject of metadata.supplier is. metadata.component is the component that the BOM describes, meaning metadata.component.supplier would be the same as metadata.supplier.

As discussed in this Slack thread, it seems that metadata.supplier describes the supplier of the BOM itself. If that is the case, the schema documentation should be updated to include this fact.

Activity

  1. added this to the 1.6 milestone on Dec 9, 2023
  2. jkowalleck commented on Feb 5, 2024

    @jkowalleck
    Member

    I was told, that metadata.supplier is meant to be the supplier of the CycloneDX document.
    the other one is the supplier of the root component.

    use case: you have an agency producing your documentation artifact.

    I will update the docs for 1.6

    PS: since the current docs state otherwise than it was meant, the mentioned facts would be a breaking-change.
    will discuss with CoreWorkingGroup -- result here: #379 (comment)

  3. added a commit that references this issue on Feb 6, 2024
    a2b13d1
  4. linked a pull request that will close this issuefeat: decouple metadata from its component #379on Feb 14, 2024
  5. removed their assignment
    on Feb 15, 2024
  6. jkowalleck commented on Feb 15, 2024

    @jkowalleck
    Member

    see a discussion result from the CoreWorkingGroup here: #379 (comment)

    originally i had planned
    the following:

    in a discussion with members of the CoreWorkingGroup, they told to do the following instead:

    • state in the description, that metadata.supplier so that it stated that the field has different meaning per spec version.
      • < 1.6, the meaning was "supplier of the component described by the BOM" (old/legacy)
      • >= 1.6, the meaning will be "supplier of the BOM"
        previous capability would be shifted to in favour of metadata.component.supplier

    the proposal would cause breaking semantic changes. I do not want to bring any breaking change into the spec.
    Therefore I will drop the aspect 'supplier' entirely from this PR.

  7. jkowalleck commented on Apr 6, 2024

    @jkowalleck
    Member

    @stevespringett lets move this one to 1.7
    We did not find consensus here, yet. Maybe we will come up with a non-breaking solution in the future.

  8. modified the milestones: 1.6, 1.7 on Apr 8, 2024
  9. jkowalleck commented on Sep 12, 2024

    @jkowalleck
    Member

    see #521

    we cannot simply change the meaning of an existing field. see #379 (comment)
    We could deprecate the existing $.metadata.supplier in favor of $.metadata.component.supplier,
    and we could add a new field [with different name] to $.metadata to represent the SBOM supplier.

  10. jkowalleck commented on Oct 2, 2024

    @jkowalleck
    Member

    #345 (comment)

    and we could add a new field [with different name] to $.metadata to represent the SBOM supplier.

    any ideas how that new field should be named?
    maybe bom-supplier?

  11. stevespringett commented on Oct 4, 2024

    @stevespringett
    Member

    I think we need to seriously consider a minor, but breaking change in the 1.7 release and capture that change in the release notes.

  12. jkowalleck commented on Oct 21, 2024

    @jkowalleck
    Member

    I think we need to seriously consider a minor, but breaking change in the 1.7 release and capture that change in the release notes.

    A breaking change just for the fact that the preferred name of a field is not free anymore? I do not like this.
    A breaking change in a minor version? I'd veto this.

    CycloneDX is about the data and the specification.
    For example, as long as the spec tells that a field called "blueberrypie" must be used for purpose XYZ, all is good.
    We should not thrive for elegance, just decide on a name and write the specs for it.

  13. modified the milestones: 1.7, 2.0 on Jun 13, 2025
  14. stevespringett commented on Jun 13, 2025

    @stevespringett
    Member

    We will resolve this properly in CycloneDX v2.0

  15. self-assigned this
    on Sep 10, 2026
  16. jkowalleck commented on Sep 10, 2026

    @jkowalleck
    Member

    plan on removing the `metadata.supplier in 2.0 via #1090

    it will be entirely replaced by metadata.component.parties with a role "supplier".

  17. jkowalleck commented on Nov 9, 2026

    @jkowalleck
    Member

    fixed per #1090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions