Overview
Turn a SARIF 2.1.0 log from any code scanner (CodeQL, Semgrep, Trivy, Snyk, Checkov, ESLint, Bandit, gosec…) into what a coding agent needs: pass / review / fail verdict, counts by severity (uses CodeQL security-severity when present), top rules, most affected files, CWE ids, suppressed and new-vs-baseline counts, and the findings sorted worst-first with file and line. Keeps big scan files out of the LLM context.
Protocol
x402
Price
$0.0010
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
SARIF scan results summary
Indexed
2026-12-02 15:27:45
Health
Status
healthy
Latency (p50)
117ms
Uptime (30d)
100.0%
Reliability Score
97/100
Last Checked
2026-12-05 15:38:02
Last Healthy
2026-12-05 15:38:02
Consecutive Failures
0
Input Schema
{
"method": "GET",
"queryParams": {
"sarif": "{\"version\":\"2.1.0\",\"runs\":[{\"tool\":{\"driver\":{\"name\":\"CodeQL\",\"semanticVersion\":\"2.19.0\",\"rules\":[{\"id\":\"js/sql-injection\",\"shortDescription\":{\"text\":\"Database query built from user-controlled sources\"},\"properties\":{\"security-severity\":\"8.8\",\"tags\":[\"security\",\"external/cwe/cwe-089\"]}},{\"id\":\"js/unused-local-variable\",\"shortDescription\":{\"text\":\"Unused variable\"},\"defaultConfiguration\":{\"level\":\"note\"}}]}},\"results\":[{\"ruleId\":\"js/sql-injection\",\"ruleIndex\":0,\"level\":\"error\",\"message\":{\"text\":\"This query depends on a user-provided value.\"},\"locations\":[{\"physicalLocation\":{\"artifactLocation\":{\"uri\":\"src/db.js\"},\"region\":{\"startLine\":42}}}]},{\"ruleId\":\"js/unused-local-variable\",\"ruleIndex\":1,\"message\":{\"text\":\"Unused variable tmp.\"},\"locations\":[{\"physicalLocation\":{\"artifactLocation\":{\"uri\":\"src/util.js\"},\"region\":{\"startLine\":7}}}]},{\"ruleId\":\"js/unused-local-variable\",\"ruleIndex\":1,\"message\":{\"text\":\"Unused variable x.\"},\"suppressions\":[{\"kind\":\"inSource\"}],\"locations\":[{\"physicalLocation\":{\"artifactLocation\":{\"uri\":\"src/util.js\"},\"region\":{\"startLine\":9}}}]}]}]}"
},
"type": "http"
}
Output Schema
{
"example": {
"counts": {
"high": 1,
"low": 1
},
"findings": [
{
"baseline": null,
"cwe": [
"CWE-089"
],
"file": "src/db.js",
"line": 42,
"message": "This query depends on a user-provided value.",
"rule_id": "js/sql-injection",
"rule_name": "Database query built from user-controlled sources",
"severity": "high",
"tool": "CodeQL"
},
{
"baseline": null,
"cwe": [],
"file": "src/util.js",
"line": 7,
"message": "Unused variable tmp.",
"rule_id": "js/unused-local-variable",
"rule_name": "Unused variable",
"severity": "low",
"tool": "CodeQL"
}
],
"new_vs_baseline": null,
"note": "Severity uses security-severity (CodeQL / GitHub: ≥9 critical, ≥7 high, ≥4 medium) when present, else SARIF level (error → high, warning → medium, note → low). Suppressed results are counted, not listed.",
"summary": "2 finding(s) from CodeQL; fix first: js/sql-injection in src/db.js:42",
"suppressed": 1,
"tools": [
{
"name": "CodeQL",
"results": 3,
"version": "2.19.0"
}
],
"top_files": [
{
"file": "src/db.js",
"findings": 1
},
{
"file": "src/util.js",
"findings": 1
}
],
"top_rules": [
{
"count": 1,
"rule_id": "js/sql-injection",
"rule_name": "Database query built from user-controlled sources",
"severity": "high"
},
{
"count": 1,
"rule_id": "js/unused-local-variable",
"rule_name": "Unused variable",
"severity": "low"
}
],
"total": 2,
"verdict": "fail"
},
"type": "json"
}