Skip to main content
POST
/
scan-upload
Upload Scan
curl --request POST \
  --url https://www.corgea.app/api/v1/scan-upload \
  --header 'CORGEA-TOKEN: <api-key>' \
  --header 'Content-Type: text/plain' \
  --data '<string>'
{
  "status": "ok"
}

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Query Parameters

run_id
string
required

The ID of the run associated with the scan report

engine
enum<string>
required

The engine used for the scan

Available options:
checkmarx,
codeql,
fortify,
semgrep,
snyk
project
string
required

The name of the project

repo_data
string

Base64-encoded JSON string containing repository information (branch_name, integration_url, etc.)

Body

text/plain · string

The scan report content as UTF-8 text (typically SARIF or JSON format)

The body is of type string.

Response

Scan report uploaded successfully

status
string
Example:

"ok"

I