Direct Upload Support for SARIF Reports

Overview

Enable direct upload of SARIF 2.1.0 reports as a first-class artifact format in GitLab, moving toward standardized security report handling alongside CycloneDX SBOMs.

Spike Outcomes

The spike (!225747 (closed)) validated that SARIF uploads are feasible. Key findings:

  • SARIF 2.1.0 schema is compatible with our security scanning workflow
  • Parser and validator foundation established (!227875 (closed))
  • PoC demonstrates successful integration with existing vulnerability correlation

Core Questions

  • Details field mapping: How to handle SARIF's generic details field vs. our structured data
  • Identifier stability: Ensure SARIF identifiers remain stable and ordered for deduplication
  • Suppression handling: Reconcile SARIF suppression model with our vulnerability_flags approach
  • Severity alignment: Map SARIF severity levels to our vulnerability severity scale

Next Steps

Completed

In progress

Non-blocking follow-up

Edited by Lucas Charles