Skip to main content
GET
/
project
/
{projectId}
/
integrations
/
harbor
/
container-registry
/
credentials
/
{credentialId}
/
images
List Docker images from Harbor
curl --request GET \
  --url https://us.cybedefend.com/project/{projectId}/integrations/harbor/container-registry/credentials/{credentialId}/images \
  --header 'Authorization: Bearer <token>'
{
  "images": [
    {
      "name": "<string>",
      "projectName": "<string>",
      "repositoryName": "<string>",
      "artifactCount": 123,
      "pullCount": 123,
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "description": "<string>"
    }
  ],
  "totalCount": 123,
  "page": 123,
  "pageSize": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string<uuid>
required

CybeDefend project ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

credentialId
string<uuid>
required

Harbor credential ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Query Parameters

harborProject
string

Harbor project name (defaults to credential project)

page
number

Page number (1-based)

pageSize
number

Results per page

Response

List of Docker images from Harbor

images
object[]
required
totalCount
number
required

Total count of images

page
number
required

Current page

pageSize
number
required

Page size