Start GitLab Container Registry scan
GitLab
Start GitLab Container Registry scan
Initiates a security scan for a container image from GitLab Container Registry (registry.gitlab.com). The scan runs asynchronously and results can be retrieved via the scan status endpoint.
POST
Start GitLab Container Registry scan
Path Parameters
CybeDefend project ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
Container scan configuration including credential and image details
Credential ID to use for authentication
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Image name with tag to scan
Example:
"my-app:v1.0.0"
Branch name for tracking purposes
Example:
"main"
Whether the scan results should be private
Vulnerability severities to include
Example:
["CRITICAL", "HIGH"]Response
Scan request accepted and processing started