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
If $schema is included in the bom, then other tools wouldn't need to explicitly be configured, and should find the schema definition automatically
In CycloneDX 1.6 the following is noted:
"bomFormat": "CBOM", -> can only be 'CycloneDX'
"type": "crypto-asset", -> 'cryptographic-asset'
In algorithmProperties, variant & implementationLevel are not allowed. where the last segment of Variant includes a platform like x86_64 this probably is now best matched to implementationPlatform , whilst implementationLevel is executionEnvironment
in cryptoProperties, nistQuantumSecurityLevel is not allowed - it has moved under algorithmProperties
"primitive": "blockcipher", -> block-cipher
"dependencyType": "uses" - not allowed. there is a new property provides which seems to make sense where an algorithm is provided, whilst just having a dependency presumes uses ..?
Note the above is from a quick scan - need to check in more detail...
@bhess@dstebila I think it would be useful to consider this update now that the 1.6 spec is out, and we're seeing more tooling support CBOM.
Happy to work on some updates if it's helpful - or perhaps you plan to @bhess ?
The text was updated successfully, but these errors were encountered:
Thanks @planetf1 for this issue. Do you want to move your analysis to #1753 ?
I have a good grasp about the changes needed and can do a PR with the updates for 1.6.
State of current BOM:
The current BOM at
docs/cbom.json
mostly validates against the 1.4 spec with just 1 issue2024-03-05T11:49:42.428605
fails withString is not a RFC3339 date-time.
In RFC3339 a time-offset is required, ie can be
Z
.Using
2024-03-05T11:49:42.428605Z
passes validation.This change is needed in the tooling that builds/tests the BOM
Improvement to include pointer to schema
Many BOMs include a pointer to the spec ie we could add
Aside - as an alternative, and for testing, the following can be added in .vscode settings:
Cyclone DX 1.6
CBOM is now incorporated into CycloneDX 1.6, but here the schema as evolved a little
We can validate against the new spec - the example below includes the vscode definition:
If
$schema
is included in the bom, then other tools wouldn't need to explicitly be configured, and should find the schema definition automaticallyIn CycloneDX 1.6 the following is noted:
"bomFormat": "CBOM",
-> can only be 'CycloneDX'"type": "crypto-asset",
-> 'cryptographic-asset'algorithmProperties
,variant
&implementationLevel
are not allowed. where the last segment of Variant includes a platform likex86_64
this probably is now best matched toimplementationPlatform
, whilstimplementationLevel
isexecutionEnvironment
cryptoProperties
,nistQuantumSecurityLevel
is not allowed - it has moved underalgorithmProperties
"primitive": "blockcipher",
->block-cipher
provides
which seems to make sense where an algorithm is provided, whilst just having a dependency presumes uses ..?Note the above is from a quick scan - need to check in more detail...
@bhess @dstebila I think it would be useful to consider this update now that the 1.6 spec is out, and we're seeing more tooling support CBOM.
Happy to work on some updates if it's helpful - or perhaps you plan to @bhess ?
The text was updated successfully, but these errors were encountered: