Report Scan Findings
report-scan-findingsUpload a scanner JSON report for a security scan. Pass --id, --scanner (DAST|SAST|DEPS|SECRETS), and --report-file. DAST = ZAP Traditional JSON; SAST = Semgrep CLI JSON; DEPS = Trivy JSON; SECRETS = Gitleaks JSON. Backend parses, dedupes by bug hash, and inserts new SECURITY bugs linked to the scan. Optional markCompleted=true sets the scan COMPLETED after a successful ingest; otherwise the playbook calls update-scan-progress COMPLETED.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scanner": "<scanner>"
},
"name": "report-scan-findings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| botId | No | QA bots: your botId from your stored TestChimp binding. | |
| scanId | No | ||
| scanner | Yes | ||
| projectId | No | The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret. | |
| reportFile | No | ||
| reportJson | No | ||
| markCompleted | No | ||
| projectApiKey | No | Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it. |