Skip to content
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

Ability to refer back to an SBOM? #28

Closed
rnjudge opened this issue Jun 14, 2023 · 4 comments
Closed

Ability to refer back to an SBOM? #28

rnjudge opened this issue Jun 14, 2023 · 4 comments
Labels
area/product Issues and PRs related to the product field

Comments

@rnjudge
Copy link
Contributor

rnjudge commented Jun 14, 2023

Is there currently a way for openvex to refer back to an SBOM? Right now it is common that you might refer to an openvex document from an SBOM, but does openvex support the inverse relationship?

@jspeed-meyers
Copy link
Contributor

I'm also curious. I reviewed the spec, especially the document struct fields and did not see a field that ties an an OpenVEX VEX document to an SBOM. Hmmm...

@puerco or @luhring, any thoughts?

@puerco
Copy link
Member

puerco commented Jun 15, 2023

Rose can you explain a bit more how you imagine this working?

I'm thinking to draft a proposal to expand product similar to this idea in the vulnerability field, this would let it use IRIs to point to elements in other documents, but perhaps you are thinking something else.

There has been a ton of feedback on the product field and I want to capture all needs and ideas in the next proposal to improve it

@rnjudge
Copy link
Contributor Author

rnjudge commented Jun 15, 2023

I'm thinking of the security-focused SBOM consumers who care more about CVEs than the actual contents of an SBOM (like license, etc). I see them having a VEX that they focus on and update as CVEs get fixed or are not applicable. Their primary document will be the VEX but they'll want a way to link the CVEs in a VEX back to a product SBOM (because they still need the SBOM to check the box). If there's no way to meaningfully link an SBOM to a VEX from openvex, they'll have to manage this relationship themselves. I'm thinking they would probably use something like the SPDX ID of the SBOM to make this reference somewhere in their openvex document?

Inn discussions in the implementers call yesterday, referring to an SBOM from an openvex document was seen as an important requirement for the folks there.

@puerco puerco added the area/product Issues and PRs related to the product field label Jun 19, 2023
@puerco
Copy link
Member

puerco commented Aug 22, 2023

To anyone following this is one of the issues that went into the just released v0.20 spec revision. The product field in the vex statement now takes an IRI which can point to components in SBOMs. This can make the vex statement rely 100% on an entry in an external document.

The next release of the OpenVEX tooling will have strong support to read SBOMs as part of the document VEX processing logic. It will make use of these new fields. Thanks for pointing this out @rnjudge :)

@puerco puerco closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/product Issues and PRs related to the product field
Projects
None yet
Development

No branches or pull requests

3 participants