Labels: type:feature, area:report, priority:critical,
status:blocked, milestone:M5, phase:9
Summary
Render scan results as SARIF 2.1.0 for consumption by GitHub code
scanning, Sonar, and other security dashboards.
Acceptance criteria
Implementation notes
The SARIF spec lives at:
https://docs.oasis-open.org/sarif/sarif/v2.1.0/
Use a published SARIF schema for validation in tests:
https://json.schemastore.org/sarif-2.1.0.json
Dependencies
Depends on: #20
Labels:
type:feature,area:report,priority:critical,status:blocked,milestone:M5,phase:9Summary
Render scan results as SARIF 2.1.0 for consumption by GitHub code
scanning, Sonar, and other security dashboards.
Acceptance criteria
internal/report/sarif.goexposes:func RenderSARIF(scan Scan, findings []Finding) ([]byte, error)VULNERABLEfinding becomes a result with:level: "error"ruleId: <advisory_id>message.text: the advisory summarylocations[].physicalLocation.artifactLocation.uri: the fork'sHEAD commit URI
Implementation notes
The SARIF spec lives at:
https://docs.oasis-open.org/sarif/sarif/v2.1.0/
Use a published SARIF schema for validation in tests:
https://json.schemastore.org/sarif-2.1.0.json
Dependencies
Depends on: #20