Upload Scan
Upload a completed scan report from CLI tools. Upload at least one source file with /code-upload for the same run_id before calling this endpoint. This endpoint receives pre-generated scan results from Semgrep, Snyk, Checkmarx, CodeQL, and Fortify and integrates them into the system.
Authorizations
API key for authentication
Headers
Identifies the client that triggered the scan. Requests without this header are attributed to the API.
api, cli, vscode, vs2022, intellij Query Parameters
The ID of the run associated with the scan report
The engine used for the scan
checkmarx, codeql, fortify, semgrep, snyk The name of the project
Base64-encoded JSON string containing repository information (branch_name, integration_url, etc.)
Body
The scan report content as UTF-8 text (typically SARIF or JSON format)
The body is of type string.
Response
Scan report uploaded successfully
"ok"
