ci: scanner ignore entries carry review dates that have passed, and nothing checks them

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

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

@Wikid82 がすでに取り組んでいます。

2026年12月1日 から。

評価

この issue はまだ評価されていません。

説明

ci-cd low

What

.grype.yaml ignore entries carry expiry: dates and .trivyignore entries carry "Review by" comments, but no script or workflow reads them, so entries stay active after their review date. On development (2026-12-01) many entries are past due, for example .grype.yaml lines 103 and 112 (go-jose v3, 2026-11-29), 137 (2026-11-28), 159/217/276/558/620/642 (2026-08-01), 343/418/497/787 (2026-09-01), 1073 (2026-10-18), 1082 (2026-11-23); .trivyignore has "Review by: 2026-08-01" / "2026-09-01" entries (lines 17-117).

Where

.grype.yaml, .trivyignore; no reader under scripts/ or .github/workflows/ (grep -rln expiry scripts .github/workflows finds only an unrelated test).

Evidence

Grype's ignore rules have no expiry field of their own, so the dates are comments in effect. Related: #1979 (the two lists drift apart).

Severity

Low (scanner hygiene; accepted findings are never re-reviewed).

Suggested approach

Review every past-due entry (remove the ones that upstream fixed, re-date the rest with a reason), keep .grype.yaml and .trivyignore in step (#1979), and add a small CI check that fails when an entry's review date has passed, with a message naming the entry.

Found while planning the next backlog batch.

主要言語
Go
スター
17
フォーク
2
平均マージ
1時間 42分
マージ済み PR(30日)
173

環境構築

はじめの一歩

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

Wikid82/Charon のほかの issue

Wikid82/Charon の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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