Start GCR container vulnerability scan
Google (GCR / Artifact Registry)
Start GCR container vulnerability scan
Initiates a vulnerability scan for a container image stored in Google Container Registry (GCR) or Artifact Registry. The scan runs asynchronously and results can be retrieved using the returned scan ID.
POST
Start GCR container vulnerability scan
Path Parameters
CybeDefend project ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
Container scan configuration including credential ID and image details
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 accepted and started successfully