List engines in the latest successful scan, including the primary engine
Request
GET
https://appsec.sourcecraft.tech/v1/engines
Query parameters
|
Name |
Description |
|
gitRepo |
Type: string Repository identifier. Accepts either internal repository ID (e.g., 88769874964302633) or public UUID (e.g., 0199140f-4343-7c06-a7e3-b835c305b629). These values can be obtained from the getRepo API (fields: id and uuid). Pattern: Example: |
|
scanType |
Type: string | null Scan kind; omitted or blank means SCAN_TYPE_DEFAULT. Example: `` |
|
type |
Type: string Required exact engine type, for example SAST, SCA, SECRETS or DAST. Pattern: Example: `` |
Responses
200 OK
OK
Body
application/json
{
"engines": [
{
"id": "example",
"name": "example"
}
],
"primaryEngineId": "example"
}
|
Name |
Description |
|
engines |
Type: EngineDto[] Example
|
|
primaryEngineId |
Type: string Example: |
EngineDto
|
Name |
Description |
|
id |
Type: string Example: |
|
name |
Type: string Example: |
Example
{
"id": "example",
"name": "example"
}