Proto commits in CycloneDX/specification

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:0bd4de7
Author:Steve Springett

Updated comments Signed-off-by: Steve Springett <steve@springett.us>

Commit:7f2978e
Author:Steve Springett

Ported to protobuf and added test case Signed-off-by: Steve Springett <steve@springett.us>

Commit:ddc4842
Author:Steve Springett

Added external ref for citation Signed-off-by: Steve Springett <steve@springett.us>

Commit:ec18e41
Author:Steve Springett

corrected pointer repeating Signed-off-by: Steve Springett <steve@springett.us>

Commit:be626a9
Author:Steve Springett

Added citation support and test cases. Signed-off-by: Steve Springett <steve@springett.us>

Commit:bcb4ba1
Author:Jan Kowalleck

feat: license acknowledge should beunique Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:2f1fb1e
Author:Jan Kowalleck
Committer:GitHub

feat: support for external components with version-ranges (#586) As discussed in ticket #321, this PR adds the following abilities: - mark components as **external** > Determine whether this component is external. > An external component is one that is not part of an assembly, but is expected to be provided by the environment, regardless of the component's `@scope`. This setting can be useful for distinguishing which components are bundled with the product and which can be relied upon to be present in the deployment environment. > This may be set to `true` for runtime components only. For `/metadata/component`, it must be set to `false`. - external components may have **version-ranges** instead of a specific version > For an external component, this specifies the accepted version range. > The value must adhere to the Package URL Version Range syntax (vers), as defined at <https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst>. > May only be used if `.isExternal` is set to `true`. > Must be used exclusively, either 'version' or 'versionRange', but not both. fixes #321 ---- > [!NOTE] > this one supersedes #326 <-- read there for more background and previous discussions implementing with `components`, because the objects referenced/required are actually used at runtime and therefore are considered a "component". Sketch/proposal for #321 - [x] sketch JSON schema - properties and assert - test cases - [x] sketch XML schema - elements & attributes. no asserts - this would require XSD1.1 which is not broadly implemented, yet. - test cases - [x] sketch ProtoBuff schema - fields - test cases ---- > [!NOTE] > ALL FEEDBACK IS WELCOME! Yes, everything. > but some might not be resolved in this very PR, but in the authoritative guides. See https://github.com/CycloneDX/specification/pull/586#issuecomment-2639335084

Commit:bfd9eb4
Author:Jan Kowalleck
Committer:Jan Kowalleck

feat: license expression licensing and properties Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:c974a3c
Author:Jan Kowalleck

feat: license url Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:41fc9b2
Author:Jan Kowalleck

docs Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:b2c5ca5
Author:Jan Kowalleck

docs Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:714813c
Author:Jan Kowalleck

licenseexpression details bom-ref Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:85e903d
Author:Jan Kowalleck

refactor: rename and docs Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:267ef6d
Author:Jan Kowalleck

style Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:7c49125
Author:Jan Kowalleck

docs Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:c16b24a
Author:Jan Kowalleck

docs: SPDX expression examplefor `LicenseRef-` Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:0dc34e0
Author:Jan Kowalleck

docs Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:561c8dd
Author:Jan Kowalleck

docs Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:7701a10
Author:Jan Kowalleck

struct proto Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:5995a6d
Author:Jan Kowalleck

docs: proto Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:59c9a1f
Author:Jan Kowalleck

ework license expression lext attachments and add shema Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:903cb43
Author:Jan Kowalleck

rework license expression lext attachments and add shema Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:21f8f42
Author:Jan Kowalleck
Committer:Jan Kowalleck

component's version and versionRange exclusively Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:c34176d
Author:Jan Kowalleck
Committer:Jan Kowalleck

rename `isExtranous `-> `isExternal` + wording Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:a4622ea
Author:Jan Kowalleck

spec: isExtraneous only for runtime-components Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:339dec6
Author:Jan Kowalleck
Committer:GitHub

Merge branch '1.7-dev' into add-streebog-hashalg

Commit:3f3873e
Author:Jan Kowalleck
Committer:GitHub

Merge branch '1.7-dev' into feat/licenses-multi-mix-all

Commit:e7d714f
Author:Jan Kowalleck

wip Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:959a82c
Author:Jan Kowalleck

wip Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:db0b3b8
Author:Jan Kowalleck

wip Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:76f2b2c
Author:Jan Kowalleck

forward-port #581 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:df66f06
Author:Jan Kowalleck

Merge remote-tracking branch 'origin/master' into 1.7-dev

Commit:9f5b308
Author:Jan Kowalleck
Committer:Jan Kowalleck

feat: licenses allow mix of multiple SPDX expressions AND/OR multiple named/spdx licenses Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:b9c7c59
Author:Jan Kowalleck

fix: version range spec url Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

The documentation is generated from this commit.

Commit:08a441d
Author:Jan Kowalleck

carry over from master: XML,JSON,PB Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:d0bd373
Author:Jan Kowalleck
Committer:GitHub

Merge branch 'master' into 1.7-dev

Commit:4972636
Author:Jan Kowalleck
Committer:GitHub

chore: prep v1.6.1 (#535) final change of milestone 1.6.1 -- see https://github.com/CycloneDX/specification/milestone/11 --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:30040f7
Author:Jan Kowalleck
Committer:GitHub

docs: transfer specdocs to ProtoBuf 1.6 (#539) fixes #538 texts were taken from the human-readable Spec CycloneDX 1.6.0 --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:003ab52
Author:Jan Kowalleck
Committer:GitHub

fix(ProtoBuf): add `LicenseExpression.bom_ref` (#529) fixes #515 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:0266339
Author:Jan Kowalleck
Committer:GitHub

fix(ProtoBuf): `Component.evidence` optional (#534) fixes #422 by reverting the unreleased https://github.com/CycloneDX/specification/commit/19a153072690dfb2e8475ea3fa2e09a657d0cef6 & https://github.com/CycloneDX/specification/commit/acc5f3a003f26a6f165d83e5f4f7706546ccc055 as discussed here: https://github.com/CycloneDX/specification/issues/422#issuecomment-2454961082 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:8858683
Author:Jan Kowalleck
Committer:GitHub

fix(ProtoBuf,XML): component data repeatable (#530) fixes <https://github.com/CycloneDX/specification/issues/518> --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> Signed-off-by: Jan Kowalleck <jan.kowalleck@owasp.org> Co-authored-by: andreas-hilti <69210561+andreas-hilti@users.noreply.github.com>

Commit:ec3e9a2
Author:Jan Kowalleck
Committer:GitHub

fix(ProtoBuf): add ExternalReterence Type `EXTERNAL_REFERENCE_TYPE_RELEASE_NOTES` (#531) fixes #266 --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:1d0a1d5
Author:Dmitry Volk

Add "HASH_ALG_" prefix to algorithm name Signed-off-by: Dmitry Volk <volk.dmitry@gmail.com>

Commit:0cc2e3a
Author:Dmitry Volk
Committer:Dmitry Volk

Added support for STREEBOG-256 and STREEBOG-512 hashing algorithms (#485) Signed-off-by: Dmitry Volk <volk.dmitry@gmail.com>

Commit:efc7163
Author:Jan Kowalleck

carry over of latest master Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:ae1b41c
Author:Jan Kowalleck
Committer:GitHub

Merge branch 'master' into 1.7-dev

Commit:7cc2dee
Author:Jan Kowalleck

carry over of latest master Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:6166a17
Author:Jan Kowalleck

Merge branch 'master' into 1.7-dev

Commit:19a1530
Author:Jan Kowalleck
Committer:GitHub

fix(ProtoBuff): component evidence should be optional, istead of repeated (#517) non-breaking fix of #422 in contrast to #425 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:acc5f3a
Author:Jan Kowalleck
Committer:GitHub

fix: revert PR #425 (#516) This PR reverts previously wrong merge of PR #425 (which introduced unexpected breaking-changes) See https://github.com/CycloneDX/specification/pull/425#issuecomment-2322860569 reopen https://github.com/CycloneDX/specification/issues/422 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:cf2ad78
Author:Jan Kowalleck
Committer:GitHub

Merge branch 'master' into 1.7-dev

Commit:bfb6f8b
Author:Jan Kowalleck
Committer:GitHub

1.6 ecma -- docs carry over (#512) carry over the JSON docs from #478 to XML and PR --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:9b8323e
Author:Steve Springett

creating 1.7 from 1.6. Updating doc generation and templates.

Commit:51e8197
Author:Steve Springett
Committer:GitHub

fix: ProtoBuf evidence not repeated, but optional (#425) fixes #422 and yes, fixing this bug is actually considered a breaking change in terms of ProtoBuf

Commit:5154559
Author:Steve Springett
Committer:GitHub

fix: add missing cryptoRef to `cryptoProperties.protocolPropertiesfor` XML/PB (#502) fixes #498

Commit:cedacd9
Author:Jan Kowalleck
Committer:Jan Kowalleck

fix: add missing cryptoRef to `cryptoProperties.protocolPropertiesfor` XML/PB Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:248e8b0
Author:Jan Kowalleck
Committer:GitHub

Merge branch 'master' into 1.6-ecma

Commit:b5c7207
Author:Steve Springett

TC54 feedback: Clarified content type description Signed-off-by: Steve Springett <steve@springett.us>

Commit:6eb1d05
Author:Steve Springett

TC54 feedback: Clarified content type description Signed-off-by: Steve Springett <steve@springett.us>

Commit:244f021
Author:Jan Kowalleck
Committer:Jan Kowalleck

docs: annotate protobuf licenses see https://github.com/CycloneDX/specification/issues/465 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:b3d9a2b
Author:Jan Kowalleck
Committer:Jan Kowalleck

fix: ProtoBuf evidence not repeated, but optional Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:2bb8bae
Author:Steve Springett

Correcting optional state for crypto assetType Signed-off-by: Steve Springett <steve@springett.us>

Commit:86b6ae1
Author:Steve Springett
Committer:GitHub

Add support for OmniBOR and Software Heritage persistent IDs (#414) Closes #413 - [x] modify JSON schema - [x] modify XML schema - [x] modify protobuf schema - [x] add examples & test resources

Commit:f3e98d4
Author:Steve Springett

Changed omnibor to omniborId Signed-off-by: Steve Springett <steve@springett.us>

Commit:6fcbd02
Author:Steve Springett

Changed to array. Updated examples Signed-off-by: Steve Springett <steve@springett.us>

Commit:6f284bd
Author:Steve Springett
Committer:GitHub

Propose new environmental consideration information for ML models (#395) The fact that datasets used to train AI models are increasingly large and take an enormous amount of energy (and indirectly produce large CO2 emissions) to develop, train and run has come to the forefront. This PR contains proposed additions to the "modelCard" type to account for these considerations when selecting/utilizing a model. - Adds `ModelCardConsiderations.environmentalConsiderations` this fixes https://github.com/CycloneDX/specification/issues/396 - Adds `OrganizationalEntity.address` ---- TODO - [x] modify JSON schema - [x] modify XML schema - [x] modify protobuf schema - [x] add examples & test resources

Commit:fc55713
Author:Steve Springett
Committer:GitHub

Added support for license acknowledgements (#408) Closes #407 - [x] modify JSON schema - [x] modify XML schema - [x] modify protobuf schema - [x] add examples & test resources

Commit:6e90b46
Author:Steve Springett
Committer:GitHub

Added support for concluded value. Updated test cases. (#412) Closes #411 - [x] modify JSON schema - [x] modify XML schema - [x] modify protobuf schema - [x] add examples & test resources

Commit:c299ad6
Author:Jan Kowalleck

Merge remote-tracking branch 'origin/energy_mod2' into energy-fix-examples

Commit:c7793d1
Author:Jan Kowalleck

fix examples Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:6084dea
Author:Jan Kowalleck
Committer:Jan Kowalleck

add description back in Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:df4b536
Author:Jan Kowalleck

foo Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:a20e982
Author:Matt Rutkowski

Add ExternalReferences and Properties where they are needed for extension Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:ac3e662
Author:Steve Springett

Added descriptions for ML learning types Signed-off-by: Steve Springett <steve@springett.us>

Commit:f381558
Author:Matt Rutkowski

Correct double type defn. for energyConsumption Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:076ba71
Author:Matt Rutkowski

Adjust energy source types and add enum. definitions for values Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:2c3e1c8
Author:Matt Rutkowski

Adjust energy source types and add enum. definitions for values Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:a3db74a
Author:Matt Rutkowski

Adjust energy source types and add enum. definitions for values Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:3e545a3
Author:Matt Rutkowski

Use the best practice of using an unspecified value of 0 for enums Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:628ed72
Author:Matt Rutkowski

Use the best practice of using an unspecified value of 0 for enums Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:c71f22b
Author:Steve Springett

Add support for OmniBOR and Software Heritage persistent IDs Signed-off-by: Steve Springett <steve@springett.us>

Commit:45db721
Author:Steve Springett

Added support for concluded value. Updated test cases. Signed-off-by: Steve Springett <steve@springett.us>

Commit:83691a6
Author:Steve Springett

Updated comment Signed-off-by: Steve Springett <steve@springett.us>

Commit:74803ec
Author:Steve Springett

Fixed unit tests Signed-off-by: Steve Springett <steve@springett.us>

Commit:b870a93
Author:Steve Springett

Added support for license acknowledgements Signed-off-by: Steve Springett <steve@springett.us>

Commit:488489d
Author:Matt Rutkowski

Fix typo in CO2_MEASURE_UNIT_TYPE_TONNES_CO2_EQUIVALENT enum defn. Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:1b8b886
Author:Matt Rutkowski

Fix typo in EnergySourceType Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:7237bc3
Author:Matt Rutkowski

Fix zero value enums errors (i.e., should be suffixed with _UNSPECIFIED) Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:7c701a2
Author:Matt Rutkowski

Fix zero value enums errors (i.e., should be suffixed with _UNSPECIFIED) Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:72f36e0
Author:Matt Rutkowski

Fix zero value enums errors (i.e., should be suffixed with _UNSPECIFIED) Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:6ea561d
Author:Matt Rutkowski

Fix syntaax error in EnergyProviderType Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:8ced6e8
Author:Matt Rutkowski

Add PostalAddressType to protobuf Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:d10662e
Author:Matt Rutkowski

Add EnergyConsumption, EnergyProvider and their ref. subtypes Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:4403444
Author:Matt Rutkowski

Add EnergyConsumptionType to protobuf sceham Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:a586728
Author:Matt Rutkowski

Add missing descs. to formulation related types Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>

Commit:742326b
Author:Jan Kowalleck

fix: protobuf `Metadata.licenses` repeated Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:a0e58b1
Author:Steve Springett

Minor doc updates Signed-off-by: Steve Springett <steve@springett.us>

Commit:7bf6e28
Author:prabhu
Committer:Prabhu Subramanian

Spelling and grammar checks Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>

Commit:e20f63a
Author:Jan Kowalleck
Committer:GitHub

introduce QA pipeline for protobuf schemas (#385) current protobuf schema files are not perfect. this PR aims to prevent mistakes in the future, while acknowledging issues from the past. fixes #384 ---- ## status - [x] introduce protobuf QA tools and configure them to our needs - [x] baseline existing protobuf QA violations - as acknowledgement - [x] introduce the protobuf QA tools in automated pipeline - [x] introduce tools that detect and prevent breaking changes (BCD) in protobuf - [x] introduce the protobuf BCD tools in automated pipeline - [x] have our own protobuf test files checked against the schemas ## followup - [ ] add the appropriate header to `*.textproto` see https://github.com/CycloneDX/specification/issues/384#issuecomment-1959512503 - [ ] create ticket for BC: fix the proto3 schema enum value `0` -- they are intended to be fallbacks, not actual values. --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

Commit:8a168a4
Author:Jan Kowalleck

docs: `metadata.licenses` rephrase Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>