Docs: document machine-readable scan, report, and SBOM output contracts

オープン
#163 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
node.js, typescript
領域
documentation

調査の方向性

Read the README and inspect the shipped CLI help or implementation for vg scan, vg report, and vg sbom export to verify supported formats, fields, exit behavior, and upload defaults. Add docs/OUTPUTS.md (or an equivalent reference) with accurate, sanitized examples; it is done when CI users can choose a format and exit behavior from the docs without undocumented stability promises.

索引モデルが issue の本文から書いたものです。

説明

documentation good first issue

Context

The README shows vg scan, SARIF upload, SBOM export, and report generation, but there is no focused reference explaining the output contracts. CI users need stable expectations for formats, exit codes, and what may vary.

Related but separate: #151 covers a minimal SBOM/VEX end-to-end example. This issue is the contract reference.

What to do

Add a concise docs/OUTPUTS.md (or equivalent) covering:

  • vg scan --format json|sarif|md (verify shipped flags)
  • vg report (if shipped)
  • vg sbom export formats actually supported
  • schemaVersion / stable fields vs intentionally variable fields (e.g. timestamps)
  • exit codes and --fail-on (if present)
  • that network upload/--push is explicit and opt-in
  • one small sanitized example per important format

Document only currently shipped behaviour.

Acceptance

  • A CI user can pick format + exit behaviour without reading source
  • Examples are valid and copy-pasteable
  • Local-first / opt-in network behaviour stated accurately
  • No undocumented stability guarantees claimed

Mentoring notes

Docs-only. Prefer vg. Conventional Commit docs: + DCO (git commit -s).

主要言語
TypeScript
スター
4
フォーク
3
平均マージ
1日 22時間
マージ済み PR(30日)
76

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vibgrate/cli のほかの issue

vibgrate/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。