You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stabilize Trivy Code Scanning alert identity #2499
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.
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.
Activity
docs(issues): add issue specification for torrust#2499
docs(issues): [torrust#2493] record the PR torrust#2498 review round
docs(issues): add issue specification for torrust#2499
docs(issues): [torrust#2493] record the PR torrust#2498 review round
docs(issues): [torrust#2499] record the exact reproduction commands
Merge #2498: docs(security): [#2493] triage GitHub security findings