Repository navigation
[WIP] CycloneDX v2.0 Specification - #652
Draft
stevespringett wants to merge 551 commits into
Draft
stevespringett wants to merge 551 commits into
stevespringett wants to merge 551 commits into
Conversation
Open
stevespringett
force-pushed
the
2.0-dev
branch
4 times, most recently
from
December 1, 2025 19:39
f63bd4a to
9a09935
Compare
This was referenced Apr 13, 2026
Open
This comment was marked as outdated.
This comment was marked as outdated.
jkowalleck
added a commit
that referenced
this pull request
Aug 4, 2026
merge latest master and fix conflicts caused by #652 (comment) ---- there are currently some conflicts in the `.github/workflows/*` ```text This branch has conflicts that must be resolved Use the command line to resolve conflicts before continuing. .github/workflows/bundle_2.0_schemas.yml .github/workflows/test_java.yml .github/workflows/test_js.yml .github/workflows/test_php.yml .github/workflows/test_proto.yml docgen/json/templates/cyclonedx/base.html docgen/json/templates/cyclonedx/section_properties.html docgen/proto/templates/html.tmpl docgen/xml/xs3p.xsl tools/src/test/js/json-schema-functional-tests.js tools/src/test/js/json-schema-lint-tests.js ``` i will sort this out soon. basically this is a file being moved in our(`2.0-dev`) branch, and a dependabot updating an action in their's(`master`) branch. similar with tests and QA tools ... but i have no idea what to do with the docs - i guess we use "ours"? --------- Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be> Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> Signed-off-by: Basil Hess <bhe@zurich.ibm.com> Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com> Signed-off-by: Steve Springett <steve@springett.us> Signed-off-by: Joachim Vandersmissen <git@jvdsn.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: wievdndr <wiebe.vandendriessche@ugent.be> Co-authored-by: Wiebe Vandendriessche <146532897+wiebe-vandendriessche@users.noreply.github.com> Co-authored-by: Basil Hess <bhe@zurich.ibm.com> Co-authored-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com> Co-authored-by: Steve Springett <steve@springett.us> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Joachim Vandersmissen <git@jvdsn.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
jkowalleck
reviewed
Aug 14, 2026
jkowalleck
marked this pull request as ready for review
August 24, 2026 15:03
jkowalleck
marked this pull request as draft
August 24, 2026 15:04
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Srinivas Chippagiri <cvas22@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Two fixtures for the case discussed in #1175: an algorithm family is observed, the parameter set is unknown, and no NIST category was assessed. - nistQuantumSecurityLevel is omitted, not set to 0: 0 means "none of the categories are met", which is a different and stronger claim - no custom namespaced property encodes assessment status, so the fixtures stay valid against the 2.0 schema on their own - the names carry the valid- prefix because AbstractJsonSchemaVerificationTest only picks up resources whose names start with "valid" or "invalid" Validated with ajv 8.20 against both the bundled and the modular 2.0 schema. Controls confirm the validation is not vacuous: a bogus algorithmFamily is rejected, nistQuantumSecurityLevel = 7 is rejected, = 0 is accepted. Signed-off-by: 刘天赫 <research@fibemate.net>
Both family-only fixtures said the omission existed "because the assessment was not performed". That is the same inference this fixture pair is meant to disprove: omission records that no assertion was made, and says nothing about whether an assessment happened. It also implied SM2 cannot be assessed. Adopt the reviewer's wording, which describes only the recorded observation: Algorithm family observed without a recorded parameter set or asserted NIST security strength category. Omission of nistQuantumSecurityLevel does not establish whether an assessment was performed. No schema or structural change; the two description strings are the only edit. Validated against schema/2.0/cyclonedx-2.0-bundled.schema.json from 2.0-dev 76f185c with ajv 8.20.0 (draft 2020-12): both fixtures valid, bogus algorithmFamily rejected, level 7 rejected, explicit level 0 accepted. Signed-off-by: 刘天赫 <research@fibemate.net>
#1113 renamed bom-ref to refId across the 2.0 schema and its test data. These two fixtures still used bom-ref, so once 2.0-dev moved on, the component definition rejected them as an additional property and the subject failed its oneOf against both component and componentReference. The subject here is an inline component, not a reference to one, so refId is the right field; a reference would need ref plus a definition elsewhere, which would change what the examples demonstrate. Verified against this commit's schema with the repository's own functional harness (tools/src/test/js/schema-v2, v2.0): both fixtures fail before the change with the reported additionalProperties/missing ref/oneOf errors, and both pass after it. Signed-off-by: 刘天赫 <research@fibemate.net>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Srinivas Chippagiri <cvas22@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ertificate The certificateProperties.fingerprint description said the hash excludes the certificate signature. A certificate fingerprint (thumbprint) is a hash of the complete DER encoding of an X.509 certificate, signature included, as for the x5t and x5t#S256 thumbprints in RFC 7515. Correct the description, cover non-X.509 formats and exclude PEM text, and regenerate the bundled schemas. Description-only change; the released 1.7 schemas are left for a separate change. Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
The bundled schemas are generated automatically after merging, so this PR does not change them. Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
…tion Signed-off-by: Basil Hess <bhe@zurich.ibm.com>
…#1251) Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
Link RFC 5280 (X.509), ITU-T X.690 (DER), RFC 7515 (x5t, x5t#S256) and RFC 7468 (PEM), and mark x5t and x5t#S256 as code, as suggested in review. Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
Signed-off-by: Basil Hess <bhe@zurich.ibm.com>
Signed-off-by: Basil Hess <bhe@zurich.ibm.com>
Signed-off-by: Basil Hess <bhe@zurich.ibm.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
WORK IN PROGRESS
see Milestone for progress: https://github.com/CycloneDX/specification/milestone/2
CycloneDX 2.0 — draft changelog
Breaking changes
bom-reftorefId(#673 per #1113)bomFormattospecFormat(#775 per #1087)servicetype (#733 per #975)identifiers(#935 per #936)Added
unwrapcryptographic function (#794 per #845)Removed
manufacture; use the root Component'spartieswith themanufacturerrole (#386 per #930)author; use Componentpartieswith theauthorrole (#387 per #930)supplier; use the root Component'spartieswith thesupplierrole (#345 per #1090)manufacturerandsupplier; usepartieson the relevant item with the correspondingrole(#718 per #930)Implementation
Docs
Draft based on closed issues and merged pull requests in the 2.0 milestone. draft summary generated with AI asitance, until 2.0 is locked