Store a Personal Access Token (PAT) for ghcr.io
GitHub (GHCR)
Store a Personal Access Token (PAT) for ghcr.io
Stores a GitHub Personal Access Token with read:packages scope. This is REQUIRED for scanning private or internal container images, as GitHub App tokens cannot pull these packages from ghcr.io. The token is encrypted before storage.
POST
Store a Personal Access Token (PAT) for ghcr.io
Path Parameters
CybeDefend organization ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
PAT to store
Personal Access Token with read:packages scope. Required for scanning private/internal packages.
Example:
"ghp"