Stabilize Trivy Code Scanning alert identity
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start with the Security Scan workflow, comparing the image reference used by the scheduled run (torrust/tracker:develop) with the one built for push and pull-request runs (torrust-tracker:local). Read the spec at docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/ISSUE.md, delivered through PR #2498. Done means one image reference for every trigger, and alert numbers and states unchanged across a scheduled run and a push run.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The Security Scan workflow scans a different image name depending on the trigger: scheduled runs pull torrust/tracker:develop, while push and pull-request runs build torrust-tracker:local. Trivy uses the image name as the alert location (torrust/tracker vs library/torrust-tracker), and both runs upload to the same SARIF category on develop.
Each time the trigger type changes, GitHub marks every Trivy alert of the previous series as fixed and opens or reopens a duplicate alert under another number. No package changed.
Reproduced on 2026-10-08: the push run for 554c47f67 marked 31 torrust/tracker alerts fixed at 16:55:43Z and reopened 31 library/torrust-tracker alerts with the same CVE ids and packages.
Impact
- The Security tab reports vulnerabilities as fixed while they are still in the image.
- Alert numbers cited in review inventories, CVE records, and issue closure criteria go stale at the next trigger change (found in PR #2498 review).
This is not an exploitable vulnerability; it is a CI defect in the evidence pipeline for runtime findings.
Expected
One stable alert per CVE and package for every trigger. Do not split triggers into separate SARIF categories, which would keep both duplicate series open.
Plan
- Use one image reference for every trigger.
- After merge, verify that a scheduled run and a push run leave every Trivy alert number and state unchanged.
- Reconcile the duplicate series and update the GitHub Security catalog.
Spec: docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/ISSUE.md, delivered through PR #2498.
Related to #2493
- Lenguaje dominante
- Rust
- Estrellas
- 532
- Forks
- 56
- Merge medio
- 11 h 20 min
- PR fusionados (30 d)
- 282
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de torrust/torrust-tracker
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
torrust/torrust-tracker#3080 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
torrust/torrust-tracker#3069 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
torrust/torrust-tracker#3058 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
torrust/torrust-tracker#2978 ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
torrust/torrust-tracker#2332 ·
Los mantenedores suelen responder en 1 día
Todos los issues de torrust/torrust-tracker
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Start here: how to contributeAbiertodifficulty: easy docs help wanted tooling
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
userFRM/egui-charts#4386 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
eliasstravik/herdr-projects#1605 · 1 comentario ·