Relationships for NTIA Minimum Elements in per-RPM SBOMs
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 22/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
This is a question about interpreting NTIA Minimum Elements for SPDX rather than a code change: read the linked how-to at https://spdx.github.io/spdx-ntia-sbom-howto and the NTIA report to see how DESCRIBES, CONTAINS and DEPENDS_ON are described there. Then check how the existing pages in this Shell-based docs repo cover relationship types, so an answer can be turned into guidance. Done means a written answer (and possibly a docs paragraph) covering whether DEPENDS_ON is needed, whether CONTAINS applies to separately-packaged dependencies, and how version ranges are expressed.
由索引模型根据 Issue 内容生成。
描述
Hey there,
I am working on AlmaLinux's SBOM generator, extending it so that our SBOMs contain NTIA's Minimum Elements. However, I've got a couple of questions regarding relationships in SPDX documents.
In AlmaLinux, there is one SBOM for each RPM package. Let's say there is a package foo-1.0 that depends on (but does not contain) another package bar-1.1. According to [1], an SPDX SBOM conforming to the NTIA Minimum Elements needs one (or more) DESCRIBES relationship and CONTAINS relationships for each transitive dependency that is included in any of the packages described by the SBOM. In this example, the dependency is not contained in the described package, so my understanding is that I do not need any CONTAINS relationships at all. Is that correct?
The official NTIA document on the Minimum Elements [2] also uses the word "includes", which seems to correspond to CONTAINS relationships. Don't I have to include information about dependencies that are not contained in the package, but are in a separate one, as in the example above?
I thought something like Relationship: SPDXRef-Package-foo-1.0 DEPENDS_ON SPDXRef-Package-bar-1.1 would be necessary for the NTIA Minimum Elements. Is my reasoning incorrect?
Finally, RPM packages sometimes depend on other packages without specifying an exact version (or a range like bar >= 1.0 and bar < 2.0), but packages are declared with exact versions in SPDX documents. How would I describe such a relationship in SPDX?
Thank you for your help!
[1] https://spdx.github.io/spdx-ntia-sbom-howto
[2] https://www.ntia.gov/sites/default/files/publications/sbom_minimum_elements_report_0.pdf
- 主要语言
- Shell
- 星标
- 6
- 派生
- 5
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
spdx/using 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
-
Create a using document for converting SPDX 2.X external document references可能重新可做 @goneall 于 67 天前认领,目前没有进行中的 PR。 未关闭
-
documentation
难度 4/5 3-5 天 新手友好度 45/100
-
难度 2/5 1-3 小时 新手友好度 55/100
-
难度 2/5 1-3 小时 新手友好度 45/100
相似的 Issue
-
product:quill type:bug
难度 2/5 1-3 小时 新手友好度 82/100
Community-Access/quill#2319 ·
维护者通常 1 天内回复
-
bot file conflict
难度 2/5 1-3 小时 新手友好度 65/100
termux/termux-packages#33741 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
home-assistant/app-letsencrypt#22 ·
维护者通常 1 天内回复
-
area: infra enhancement good first issue
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
openwrt/packages#31511 · 1 条评论 ·
维护者通常 1 天内回复