-
Notifications
You must be signed in to change notification settings - Fork 5
Review referenced document structure #10
Comments
SPDX has an additional class of ExternalDocumentRef and properties to manage the relationship between documents in a secure manner. SBOM takes a different approach which is structurally incompatible with the SPDX approach where the referenced item contains the package reference information. Propose adding ExternalDocumentRef class. |
Following the call on January 13, 2020,
|
This approach seems very logical. If the ExternalDocumentRef had the same required parameters as the current SPDX ExternalDocumentRef, I believe the concrete documents would be compatible. |
Philippe-Emmanuel to update model for review. |
as an illustration of how to contribute to the model, to perform the requested change, here is what I did:
I'll create a pull request with those two files ASAP |
#20 for the two model JSON files |
Looks good structurally, left a couple detail comments in the PR that, if accepted, would help compatibility. |
FYI, references to external documents is not supported at all in CycloneDX. External resources, yes, but the BOM format requires all components to be identified in a single document. This is actually quite simple with CycloneDX due to its hierarchical nature. A supplier can add their components to a BOM, sign only their portion and it can continue on down the chain, each supplier signing their own respective part of the BOM. If the final goods assembler then wants to sign the entire BOM, then that can be done as well. Each signature can be validated for each portion of the BOM that each supplier has contributed to. But attempting to resolve external documents is a non-starter in medium to high assurance environments that rely on automation, where build and security infrastructure typically has limited access to the outside world. |
@stevespringett Thanks for the high assurance environment perspective. I think the two approaches are compatible since you can always create a new SBOM and bring in all the elements you require. The use cases that drove SPDX to support external documents were typically audit related where someone upstream would create a BOM for a distribution or package and someone downstream would provide an update, correction or a larger distribution. It was important that we could refer to the original unaltered and verified as unaltered bOM's. |
Referencing artifacts in external documents seems to be structurally incompatible with the approach taken in SPDX.
Propose we review the 2 approaches (SBOM and SPDX) with concrete examples and determine if there are structural incompatibilities. If incompatible, propose changes to SBOM, SPDX or both.
The text was updated successfully, but these errors were encountered: