POST: Our approach to compare SBOMS, or the "10 steps for SBOM comparison".
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 38/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- markdown
- 領域
- content
調査の方向性
まず、markdownベースのWebサイトのエントリーポイントと、投稿で既に使われている形式を見つけます。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分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aboutcode-org/www.aboutcode.org のほかの issue
-
Making all post button.対応中かも @sarthaklole が 71 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aboutcode-org/www.aboutcode.org#117 · コメント 3 件 ·
-
WWW: Reduce frequency of update-releases再び着手できるかも @johnmhoran が 52 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンci-workflow
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
aboutcode-org/www.aboutcode.org#180 · 担当者 1 名 ·
-
DOCS: Create new AboutCode stack diagram(s)再び着手できるかも @hixvikas が 54 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
aboutcode-org/www.aboutcode.org#166 · コメント 1 件 ·
-
WWW: Create About top level page?対応中かも @pombredanne が 155 日前に担当しました。 オープンwebsite
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
aboutcode-org/www.aboutcode.org#164 · リアクション 1 件 · 担当者 1 名 ·
-
WWW: Add Initiatives and grant Projects再び着手できるかも @mjherzog が 242 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement needs design website
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
aboutcode-org/www.aboutcode.org#141 · 担当者 1 名 ·
aboutcode-org/www.aboutcode.org の issue をすべて見る
似ている issue
-
check:failed logos:add
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
iptv-org/database#38874 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
githubnext/gh-aw-workshop#5193 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
agent/quality stage/040-covered-by-pr testing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
cncf/endusers#2031 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信