Start Harbor container scan
Harbor
Start Harbor container scan
Initiates a security vulnerability scan for a container image from Harbor self-hosted registry. The scan runs asynchronously and results can be retrieved via the scan status endpoint.
POST
Start Harbor container scan
Path Parameters
CybeDefend project ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
Credential ID to use for authentication
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Image name with tag to scan (e.g., my-app:v1.0.0)
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 started successfully - processing asynchronously