Security Scanning via org-infra Reusable Workflows

オープン 初心者向け
#36 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
github-actions, go
領域
ci-cd

調査の方向性

まず既存の .github/workflows/ci.yml を調べて、独立した govulncheck ステップを特定して削除します。次に、提供されている unbound-force/unbound-force と complytime/complyctl の正規ワークフロー例を参考に、新しい .github/workflows/ci_security.yml を作成します。complytime/org-infra の再利用可能な reusable_vuln_scan.yml(enable_trivy_source: true を指定)と、OpenSSF Scorecards 用の reusable_security.yml を呼び出す処理を追加します。その後、リリースの preflight ワークフローを更新し、セキュリティスキャンが成功したことを検証するとともに、SARIF の結果が GitHub Security タブにアップロードされたことを確認します。

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

説明

enhancement

Summary

Replace the govulncheck-only security scanning with the org-standard
reusable workflows: OSV-Scanner + Trivy source scan + OpenSSF Scorecards.

Context

Issue #23 added govulncheck to CI (now closed). However, the canonical
reference (unbound-force/unbound-force/.github/workflows/ci_security.yml)
uses three org-infra reusable workflows that provide broader coverage:

  • reusable_vuln_scan.yml — OSV-Scanner (known CVEs) + Trivy source
    scan (secrets, misconfigurations)
  • reusable_security.yml — OpenSSF Scorecards (supply chain posture)

This supersedes the govulncheck step with a superset of capabilities.
Both unbound-force/unbound-force and complytime/complyctl use this
pattern.

Acceptance Criteria

  • Add .github/workflows/ci_security.yml calling
    complytime/org-infra/.github/workflows/reusable_vuln_scan.yml
    with enable_trivy_source: true
  • Add the reusable_security.yml call for OpenSSF Scorecards
  • Remove the standalone govulncheck step from ci.yml (if present)
  • SARIF results upload to GitHub Security tab
  • Update release preflight to verify security scan passed

References

  • Closed issue: #23 (govulncheck — superseded by this)
  • Canonical: unbound-force/unbound-force/.github/workflows/ci_security.yml
  • Canonical: complytime/complyctl/.github/workflows/ci_security.yml
  • Org-infra reusable: complytime/org-infra/.github/workflows/reusable_vuln_scan.yml
  • Org-infra reusable: complytime/org-infra/.github/workflows/reusable_security.yml
主要言語
Go
スター
0
フォーク
9
平均マージ
1日 14時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

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

unbound-force/replicator のほかの issue

unbound-force/replicator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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