Skip to main content
GET
/
project
/
{projectId}
/
results
/
sca
/
autofix
/
{jobId}
/
status
Get SCA AutoFix job status
curl --request GET \
  --url https://api-eu.cybedefend.com/project/{projectId}/results/sca/autofix/{jobId}/status \
  --header 'x-api-key: <api-key>'
{
  "jobId": "sca-autofix-550e8400-e29b-41d4-a716-446655440000-0",
  "projectId": "550e8400-e29b-41d4-a716-446655440000",
  "status": "processing",
  "message": "Processing... 3 vulnerabilities analyzed.",
  "totalVulnerabilities": 5,
  "processedVulnerabilities": 3,
  "fixableCount": 2,
  "unfixableCount": 1,
  "errorCount": 0,
  "progressPercent": 60,
  "createdAt": "2024-01-15T10:30:00.000Z",
  "errorMessage": "Repository not found",
  "startedAt": "2024-01-15T10:30:05.000Z",
  "completedAt": "2024-01-15T10:31:30.000Z"
}

Authorizations

x-api-key
string
header
required

API Key for authentication. You can generate an API key from your personal settings.

Path Parameters

projectId
string<uuid>
required

Project identifier

jobId
string
required

Job ID returned from the startScaAutoFix endpoint

Response

Job status retrieved successfully

jobId
string
required

Job ID

Example:

"sca-autofix-550e8400-e29b-41d4-a716-446655440000-0"

projectId
string
required

Project ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

status
enum<string>
required

Job status

Available options:
queued,
processing,
completed,
failed
Example:

"processing"

message
string
required

Human-friendly status message

Example:

"Processing... 3 vulnerabilities analyzed."

totalVulnerabilities
number
required

Total number of vulnerabilities to analyze

Example:

5

processedVulnerabilities
number
required

Number of vulnerabilities processed so far

Example:

3

fixableCount
number
required

Number of vulnerabilities with fixes found

Example:

2

unfixableCount
number
required

Number of vulnerabilities without fixes

Example:

1

errorCount
number
required

Number of vulnerabilities that failed analysis

Example:

0

progressPercent
number
required

Progress percentage (0-100)

Example:

60

createdAt
string
required

Job creation timestamp

Example:

"2024-01-15T10:30:00.000Z"

errorMessage
string

Error message if job failed

Example:

"Repository not found"

startedAt
string

Processing start timestamp

Example:

"2024-01-15T10:30:05.000Z"

completedAt
string

Job completion timestamp

Example:

"2024-01-15T10:31:30.000Z"