Originally published at woitzik.dev
I narrowed the Trivy SARIF upload in my homelab CI to severity: CRITICAL,HIGH , reproduced it locally, got 0 results and declared the GitHub Security tab clean. It wasn't. The upload still carried all 459 MEDIUM and LOW findings, because aquasecurity/trivy-action deletes the severity filter for SARIF output unless limit-severities-for-sarif is exactly true . My second attempt set that input to CRITICAL,HIGH , which is not true , so it changed nothing. A guard script I added the same afternoon caught it on its first run. Three PRs on 2026-10-02 (#821, #822, #823), and the interesting part is why the first check lied.
View the complete homelab infrastructure source on GitHub
The Setup
The security-scan job in .github/workflows/ci.yml runs Trivy three times over the repo: two format: table steps restricted to severity: CRITICAL,HIGH that print findings in the log, and one format: sarif step that uploads to the GitHub Security tab.
The SARIF step had no severity filter.…