Import Scan Result

This endpoint allows you to import scan results for a specified project. The scan details and configurations are included in the form parameters.

Body Params
string
required

The name of the project.

string
required

The name of the branch where the scan was conducted.

string
required

The name of the scanning tool used.

string

The target value for the scan. This is mandatory if override-old-analyze is true.

boolean

If true, the target value is mandatory.

string

Additional metadata associated with the scan.

boolean

Indicates whether the scan is a fork scan.

boolean

Indicates whether to override the fork source.

string

The source branch for the fork scan.

string

The environment variable for the scan.

file

The import file containing the scan results (e.g., results.json, dependency-check-report.json, gl-sast-report.json, result.xml).

Headers
string
required
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json