Start GitHub Container Registry scan
GitHub (GHCR)
Start GitHub Container Registry scan
Initiates a vulnerability scan for a container image hosted on ghcr.io. Uses the GitHub App installation token or configured PAT for authentication. The image is validated to ensure it belongs to the organization before scanning.
POST
Start GitHub Container Registry scan
Path Parameters
CybeDefend project ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
Container scan configuration
Image name with tag to scan (e.g., "my-app:v1.0.0" or "my-app@sha256:...")
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 queued for processing