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

Abierto
#2,119 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Wikid82 ya está trabajando en esto.

Desde el 1/12/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Go
Estrellas
17
Forks
2
Merge medio
1 h 42 min
PR fusionados (30 d)
173

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Wikid82/Charon

Todos los issues de Wikid82/Charon

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.