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

Aperta
#2,119 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Wikid82 ci sta già lavorando.

Dal 1/12/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Go
Stelle
17
Fork
2
Merge medio
1h 42m
PR unite (30g)
173

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Wikid82/Charon

Tutte le issue di Wikid82/Charon

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.