-
Notifications
You must be signed in to change notification settings - Fork 21
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
Denote relationship between Product SBOM and other SBOM from SPDX #1140
Comments
Where can I find an example "spdx SBOM" and "Product SBOM" that have this relationship? |
spdx examples should all be in existing unit test cases today |
So, I think I'm looking for an SPDX example where the ingested SPDX SBOM relates back to a separate product SPDX SBOM. |
sorry, let me explain a bit more ... the spdx example for Product/Component is not provided by prodsec because we have no intention of generating it (eg. cdx 1.6 is how we are going here on out). We can do the equivalent with existing spdx relationship types ... we created this story for parity (though it is not on critical path for prodsec). I can help create them with you. |
Part of issue trustification#1140 Signed-off-by: Hiram Chirino <[email protected]>
Part of issue #1140 Signed-off-by: Hiram Chirino <[email protected]>
Verify the relationship type shows up in `/api/v2/analysis/root-component` API calls. Part of issue trustification#1140 Signed-off-by: Hiram Chirino <[email protected]>
Part of issue #1140 Signed-off-by: Hiram Chirino <[email protected]>
Verify the relationship type shows up in `/api/v2/analysis/root-component` API calls. Part of issue #1140 Signed-off-by: Hiram Chirino <[email protected]>
Verify the relationship type shows up in `/api/v2/analysis/root-component` API calls. Part of issue #1140 Signed-off-by: Hiram Chirino <[email protected]>
This is a linked to https://issues.redhat.com/browse/TC-2049
Story
As develops, I want to be able to ingest spdx SBOM that relates back to their Product SBOM (when defined in a separate spdx SBOM).
This relationship should be traverseable via the REST-API/UX.
When spdx v2.3 component SBOM is encoded with a relationship, ingesting into trustify should establish a PACKAGE_OF trustify relationship.
Alternatively, when spdx v2.3 product SBOM is encoded with an externalDocumentRefs, ingesting into trustify should establish a PACKAGE_OF trustify relationship.
Acceptance Criteria:
Search/Query
HTTP GET
/api/v1/sbom
HTTP GET
/api/v1/sbom?q={...}
Expose PACKAGE_OF relationship information via other analysis graph endpoints.
HTTP GET
/api/v1/analysis/root-component?q={...}
HTTP GET
/api/v1/analysis/root-component/{purl|name}
HTTP GET
/api/v1/analysis/dep?q={...}
HTTP GET
/api/v1/analysis/dep/{purl|name}
Future/Other considerations
What happens when product SBOM refers to component SBOM that has yet to be ingested (or vice versa)?
It is out of scope to relate between different SBOM formats.
The text was updated successfully, but these errors were encountered: