-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CBOM to CycloneDX 1.6 format #1831
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: