Unified evidence model addressing #278, #333 and other concerns. - #980
Unified evidence model addressing #278, #333 and other concerns.#980stevespringett wants to merge 3 commits into
Conversation
Signed-off-by: Steve Springett <steve@springett.us>
|
RFC notice sent on July 20, 2026
Public RFC period ends August 17, 2026 |
Signed-off-by: Steve Springett <steve@springett.us>
|
@stevespringett - in reviewing all this, it occurs to me that we do a good job of capturing evidence of vulnerability. But to really understand a risk, it's important to understand any compensating controls. It's like evidence against vulnerability - that it doesn't exist or isn't as dangerous as it might be. Like VEX sort of. I'm wondering if we should add something in the standard to model these controls so that you can take them into account. Is this already handled somehow? Or is this somewhere else in the standard that I missed? If we dd this, we could distinguish inherent and residual ratings and allow the residual rating to reference the mitigation assertion. |
# Conflicts: # docgen/schema-v1/json/gen.sh
| "description": "An identifier which can be used to reference this license evidence elsewhere in the BOM. Every `bom-ref` must be unique within the BOM.\nValue SHOULD not start with the BOM-Link intro 'urn:cdx:' to avoid conflicts with BOM-Links." | ||
| }, | ||
| "license": { | ||
| "$ref": "cyclonedx-license-2.0.schema.json#/$defs/license", |
There was a problem hiding this comment.
cyclonedx-license-2.0.schema.json#/$defs/license is a very complex object.
I'd rather go with the following, here:
inherit only the properties "id" and "name" from cyclonedx-license-2.0.schema.json#/$defs/license
{
"license": {
"allOf": [
{ "$ref": "cyclonedx-license-2.0.schema.json#/$defs/license" },
{
"type": "object",
"properties": {
"id": true,
"name": true
},
"additionalProperties": false
}
]
}
}|
can the components' this way, we would not keep this special evidence thing in the component module and have it for reusability. |
changes
/$defs/copyright/$defs/copyrightObject/$defs/componentEvidence/properties/callStacks/$defs/componentEvidence/properties/licenses/$defs/componentEvidence/properties/copyright/$defs/licenseEvidence/$defs/occurrence/$defs/copyrightEvidence/$defs/componentIdentityEvidence/properties/assertion/$defs/dataContents/$defs/identificationMethod/$defs/vulnerabilityEvidence