Start DockerHub container scan
Docker Hub
Start DockerHub container scan
Initiates a vulnerability scan for a Docker image stored in DockerHub. The scan runs asynchronously and results can be retrieved via the scan results endpoint.
POST
Start DockerHub container scan
Path Parameters
CybeDefend project ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
Container scan configuration
Credential ID to use for authentication
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Image name with tag to scan (e.g., myuser/myapp:v1.0.0)
Example:
"myuser/myapp:v1.0.0"
Branch name for tracking purposes
Example:
"main"
Whether the scan results should be private
Vulnerability severities to include
Example:
["CRITICAL", "HIGH"]