DevSecOps··5 min read
Converting OWASP ZAP JSON reports into clean SARIF 2.1.0 for GitHub
Keep GitHub Code Scanning clean by separating SPA soft-404 phantoms and low-impact headers before emitting SARIF artifacts.
Key takeaway
Convert site alerts into validated findings.json first, route headers into hardening-notes.md, and export schema-checked SARIF 2.1.0.
Why raw scanner exports overwhelm pull requests
Uploading raw DAST output straight into Security tabs annotates pull requests with dozens of repetitive notices. Normalizing alerts through a refutation step preserves genuine XSS, SQLi, or SSRF leads with crisp line and route mappings.