Skip to content

docs(2.0): use shall for normative requirements in property descriptions - #1199

Merged
jkowalleck merged 1 commit into
CycloneDX:2.0-devfrom
cvas22:fix/492-must-to-shall
Nov 11, 2026
Merged

jkowalleck merged 1 commit into
CycloneDX:2.0-devfrom
cvas22:fix/492-must-to-shall

Conversation

@cvas22

@cvas22 cvas22 commented Nov 10, 2026

Copy link
Copy Markdown

Part of #492, following @stevespringett's note that "must" doesn't express a requirement in ISO drafting and "shall" does, as was done for 1.7.

This changes "must" to "shall" in the 19 places in the 2.0 modules where the description constrains BOM content: date and language formats, distribution percentages, property keys, version vs version range, SPDX license IDs and expressions, empty dependency elements, formulation values, and the exactly-one rule in citations.

I left the other uses alone on purpose because they aren't requirements on the document. In the data, requirement, threat, usecase and blueprint modules "must" describes the domain being modeled ("conditions that must hold for the attack to be possible", "data must be collected for specified purposes" under GDPR), and turning those into "shall" would change their meaning. The imported X.590 signature schema is also untouched. Happy to adjust if you'd draw the line differently.

@cvas22
cvas22 requested a review from a team as a code owner November 10, 2026 20:44
@jkowalleck jkowalleck added this to the 2.0 milestone Nov 11, 2026
@jkowalleck jkowalleck added the CDX 2.0 related to release v2.0 label Nov 11, 2026
@jkowalleck

Copy link
Copy Markdown
Member

thank you for taking care of this, @cvas22

@cvas22
cvas22 force-pushed the fix/492-must-to-shall branch from b0a4970 to 0497d3b Compare November 11, 2026 10:45
@cvas22

cvas22 commented Nov 11, 2026

Copy link
Copy Markdown
Author

@jkowalleck thx for merging 2.0-dev in. My commit was missing the sign-off, so I rebased onto 2.0-dev with it to fix DCO. The resulting tree is the same as your merge, so nothing changed content-wise. A few newer files (threat, data, requirement, usecase) still use "must", I can do those in a follow-up.

@jkowalleck
jkowalleck merged commit 1e647fd into CycloneDX:2.0-dev Nov 11, 2026
37 of 49 checks passed
@jkowalleck

jkowalleck commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

these undisputable changes were merged. 👍
if anything else needs adjustment, feel free to open another pull request.

@cvas22

cvas22 commented Nov 12, 2026

Copy link
Copy Markdown
Author

Took a closer look at the newer files I mentioned. In threat, data, requirement and usecase the "must" describes the domain (conditions that must hold, a requirement that must be met), not a rule for the BOM, so I'd leave those as they are. The only real normative ones left are the blueprint frozen description and a $comment in vulnerability, which I can pick up with the next change there rather than open a two-line PR.

@jkowalleck

jkowalleck commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

rather than open a two-line PR.

a small 2 line PR would be okay - small scoped steps are better than nothing or a huge bloated PR :)

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

Labels

CDX 2.0 related to release v2.0 documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants