Summarize a SARIF security or code-scanning report
Normalize a SARIF 2.x report from CodeQL, Semgrep, Trivy, or another scanner into severity counts, top rules, prioritized findings, file locations, and concise messages suitable for an agent's remediation queue.
$0.006 USDC POST /v1/sarif-summary
developer-tools · security · sarif · code-scanning
Use it for
- summarize SARIF report
- parse CodeQL results
- prioritize code scanning findings
Example input
{
"sarif": {
"version": "2.1.0",
"runs": [
{
"results": [
{
"ruleId": "SEC001",
"level": "error",
"message": {
"text": "Unsafe input"
}
}
]
}
]
}
}Example output
{
"success": true,
"total_findings": 1,
"severity": {
"error": 1
},
"top_rules": [
{
"rule_id": "SEC001",
"count": 1
}
]
}Call it
Use an x402 v2 payment-aware client from the quickstart. An unpaid request safely returns the exact payment challenge before any work runs.