POST: Our approach to compare SBOMS, or the "10 steps for SBOM comparison".
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 38/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- markdown
- 領域
- content
研究方向
首先定位以 markdown 為基礎的網站入口點,以及現有的文章格式。使用 issue 內文作為 SBOM 比較文章的大綱,並包含連結的貓頭鷹圖片;當文章已新增至網站預期的位置、包含編號指引,且圖片正確轉譯時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
This is our approach to compare SBOMS, or what are the "more or less" "10 steps towards SBOM validation and comparison":
First, what are the requirements that make an SBOM comparable? At a high level, you can only compare apples-to-apples. In SBOM speak, this means that you have have a complete listing of all packages included in a software, using the same package (and license) identifiers.
Here are the requirements towards a comparable SBOM:
- Is this valid JSON? Otherwise, fix the JSON until it loads.
- Is the data schema-valid for its SBOM JSON schema? Otherwise, fix the JSON until it validates.
- Is the SBOM using PURLs to identify packages? Otherwise, fix the package identifiers to map to PURL.
- Are the PURLs using a correct syntax? Otherwise, fix the PURL until they validate.
- As these existing PURLs, known in the PURL spec as registered types, and pointing to actual real code? Otherwise, fix the PURL until they are correct.
- Are all the PURLs that should be present found in the SBOM? (is this complete and accurate?) Otherwise, fix the SBOM until it is accurate.
- Are the versions of each package available with each PURL? Otherwise, fix the PURL until they all have a version.
And also for licensing:
- Is the license for each package present? Otherwise, fix the SBOM.
- Are licenses using correct SPDX license expressions? Otherwise, fix the licenses to get expressions.
And also to cross check when some data is lacking or incorrect:
- Is there a copyright or some provenance information for each package? Otherwise, fix the SBOM to add the missing information.
- Are key URLs like home page or download URLs present for each package?0. Is this the list of PURLs for the deployed, as-run code? Otherwise, fix the SBOM to add the missing information.
Other interesting data points:
13. Is the relationship between packages described?
14. Are there other "enrichment", like package description, other attributes?
15. For each package, is there an indication of its intended usage or "scope" (test, prod, dev, doc, etc.)?
Finally:
16. What is the "type" of SBOM? OR at what point in time in the software lifecycle it was computed?
And now, here is how compare two SBOMs!
-
Esnure that all requirements 1. to 7. are met.
-
Extract and sort the list of PURLs from each SBOM, and compare these two sequences (an easy diff)
-
If 16. holds and this is the same analyzed code, there should be no differences at all.
-
You can further compare licenses for any matching PURLs pair assuming that 8. and 9. are met.
(Add an image of the How to Draw an Owl meme)
https://www.reddit.com/r/pics/comments/d3zhx/how_to_draw_an_owl/
- 主要語言
- JavaScript
- 星號
- 9
- 分支
- 17
- 平均合併
- 7 小時 55 分鐘
- 30 天內合併 PR
- 2
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
aboutcode-org/www.aboutcode.org 的其他 Issue
-
Making all post button.可能已有人在做 @sarthaklole 於 72 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
aboutcode-org/www.aboutcode.org#117 · 3 則留言 ·
-
WWW: Reduce frequency of update-releases可能重新可做 @johnmhoran 於 53 天前認領,目前沒有進行中的 PR。 未關閉ci-workflow
難度 2/5 1-3 小時 新手友好度 45/100
aboutcode-org/www.aboutcode.org#180 · 已指派 1 人 ·
-
DOCS: Create new AboutCode stack diagram(s)可能重新可做 @hixvikas 於 54 天前認領,目前沒有進行中的 PR。 未關閉documentation
難度 5/5 一週以上 新手友好度 35/100
aboutcode-org/www.aboutcode.org#166 · 1 則留言 ·
-
WWW: Create About top level page?可能已有人在做 @pombredanne 於 156 天前認領。 未關閉website
難度 2/5 1-3 小時 新手友好度 35/100
aboutcode-org/www.aboutcode.org#164 · 1 個 reaction · 已指派 1 人 ·
-
WWW: Add Initiatives and grant Projects可能重新可做 @mjherzog 於 242 天前認領,目前沒有進行中的 PR。 未關閉enhancement needs design website
難度 5/5 一週以上 新手友好度 25/100
aboutcode-org/www.aboutcode.org#141 · 已指派 1 人 ·
查看 aboutcode-org/www.aboutcode.org 的全部 Issue
相似的 Issue
-
JS/TS: JSX props compile errors should link to a doc page explaining the static-list requirement未關閉area: js-runtime enhancement exists-upstream interop priority: low
難度 2/5 1-3 小時 新手友好度 78/100
shayanhabibi/fickl#307 ·
維護者通常 1 天內回覆
-
editor good first issue
難度 2/5 1-3 小時 新手友好度 82/100
webarkit/webarkit-studio#16 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
superdesigndev/treg#1324 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
entur/iteru-3dbus#48 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
pigeon189/zcode-fox-widget#17 · 1 則留言 ·