You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Description of metadata.supplier is confusing #345
"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:
"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.componentis 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.
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)
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.
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.
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.
Activity
jkowalleck commentedon Feb 5, 2024
I was told, that
metadata.supplieris 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.6PS: 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)
make metadata field descibtion more clear.
jkowalleck commentedon Feb 15, 2024
see a discussion result from the CoreWorkingGroup here: #379 (comment)
jkowalleck commentedon Apr 6, 2024
@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.
jkowalleck commentedon Sep 12, 2024
see #521
jkowalleck commentedon Oct 2, 2024
#345 (comment)
any ideas how that new field should be named?
maybe
bom-supplier?stevespringett commentedon Oct 4, 2024
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.
jkowalleck commentedon Oct 21, 2024
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.
stevespringett commentedon Jun 13, 2025
We will resolve this properly in CycloneDX v2.0
jkowalleck commentedon Sep 10, 2026
plan on removing the `metadata.supplier in 2.0 via #1090
it will be entirely replaced by
metadata.component.partieswith a role "supplier".jkowalleck commentedon Nov 9, 2026
fixed per #1090