Skip to main content
POST
/
integrations
/
scaleway
/
container-registry
/
project
/
{projectId}
/
scan
{
  "credentialId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "imageName": "my-api:v1.2.0",
  "branch": "main",
  "severities": ["CRITICAL", "HIGH", "MEDIUM"]
}
{
  "success": true,
  "data": {
    "scanId": "f6a7b8c9-d0e1-2345-f012-456789012345",
    "message": "Container scan started successfully",
    "detectedLanguages": ["javascript", "python"]
  }
}

Path Parameters

projectId
string
required
The UUID of the project

Authorization

Requires start_scan permission on the project. The container_scanning feature must be enabled for your plan.

Request Body

credentialId
string
required
The UUID of the stored Scaleway credential to use for authentication
imageName
string
required
Full image name with tag (e.g., my-api:v1.2.0 or my-api:latest)
branch
string
Git branch name for tracking purposes
privateScan
boolean
Whether the scan is private. Default: false
severities
string[]
Filter results by severity levels (e.g., ["CRITICAL", "HIGH"]). If omitted, all severities are returned.
{
  "credentialId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "imageName": "my-api:v1.2.0",
  "branch": "main",
  "severities": ["CRITICAL", "HIGH", "MEDIUM"]
}

Response

success
boolean
Whether the scan was started successfully
data
object
{
  "success": true,
  "data": {
    "scanId": "f6a7b8c9-d0e1-2345-f012-456789012345",
    "message": "Container scan started successfully",
    "detectedLanguages": ["javascript", "python"]
  }
}
The scan runs asynchronously. Use the Get Scan by ID endpoint to check scan progress and retrieve results once completed.
Before scanning, CybeDefend validates that the specified image exists in the namespace associated with the credential. If the image is not found, the request will fail with a 404 Not Found error.