Fetch a List of Registries in Your Account

Shows a list of registries in your account

GET/v1.3/registry

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

filter

 Optional

string

Filter the registries list by providing a query using Qualys syntax.

Refer to the “How to Search” topic in the online help for assistance with creating your query.

pageNumber

Optional

integer

The page to be returned. Page numbers start with 1

pageSize

Optional

integer

The number of records per page to be included in the response.

sort

 Optional

string

Sort the results using a Qualys token. For example created:desc.

Refer to the “Sortable tokens” topic in the online help for more information.

SampleSample

API request

    curl -X GET
"<qualys_base_url>/csapi/v1.3/registry?pageNumber=1&pageSize=50"
-H "accept: application/json"
-H "Authorization: Bearer <token>"
    

Response

    {
        "data": [
            {
                "registryUuid": "9a7cc6c5-523d-4308-acbb-5f59dbf71774",
                "registryUri": "https://registry-1.docker.io",
                "registryName": null,
                "registryType": "DockerHub",
                "repoCount": 1,
                "totalImages": 0,
                "totalScannedImages": 0,
                "totalVulnerableImages": 0,
                "lastScanned": "1619590223505",
                "scheduleStatusList": {
                    "Finished": 2
                },
                "created": "1619589708886",
                "updated": "1619589708886",
                "dockerHubOrg": null,
                "providerType": "DockerHub",
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "9365f2f4-7a76-477c-8de4-5b8e48324b98",
                "registryUri": "https://362990800442.dkr.ecr.us-east-1.amazonaws.com",
                "registryName": null,
                "registryType": "AWS",
                "repoCount": 1,
                "totalImages": 2,
                "totalScannedImages": 1,
                "totalVulnerableImages": 1,
                "lastScanned": "1622017976764",
                "scheduleStatusList": {
                    "Finished": 3,
                    "Running": 1
                },
                "created": null,
                "updated": "1622017530962",
                "dockerHubOrg": null,
                "providerType": "AWS",
                "awsAccountId": "362990800442",
                "awsRegion": "us-east-1",
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "9febd53d-cda6-47fc-82a5-5cbff7f7380d",
                "registryUri": "https://registry-1.docker.io",
                "registryName": null,
                "registryType": "DockerHub",
                "repoCount": 1,
                "totalImages": 1,
                "totalScannedImages": 1,
                "totalVulnerableImages": 1,
                "lastScanned": "1610973964126",
                "scheduleStatusList": {
                    "Finished": 1
                },
                "created": "1610973054230",
                "updated": "1610973054230",
                "dockerHubOrg": null,
                "providerType": "DockerHub",
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "ed30daa4-f48a-4322-ab5c-c300096b11d9",
                "registryUri": "https://registry-1.docker.io",
                "registryName": null,
                "registryType": "DockerHub",
                "repoCount": 2,
                "totalImages": 2,
                "totalScannedImages": 2,
                "totalVulnerableImages": 2,
                "lastScanned": "1620108652392",
                "scheduleStatusList": {
                    "Finished": 2
                },
                "created": null,
                "updated": "1620107571552",
                "dockerHubOrg": null,
                "providerType": "DockerHub",
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "9396f95b-054f-4ea7-bbf8-8a6990e4f0fc",
                "registryUri": "https://registry-1.docker.io",
                "registryName": null,
                "registryType": "DockerHub",
                "repoCount": 1,
                "totalImages": 2,
                "totalScannedImages": 1,
                "totalVulnerableImages": 1,
                "lastScanned": null,
                "scheduleStatusList": {},
                "created": "1620108182304",
                "updated": "1620108182304",
                "dockerHubOrg": null,
                "providerType": "DockerHub",
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "199c90d2-4f2a-4f94-81b4-ffde56d8ad88",
                "registryUri": "https://cmsapline01.azurecr.io",
                "registryName": null,
                "registryType": "Azure",
                "repoCount": 1,
                "totalImages": 1,
                "totalScannedImages": 1,
                "totalVulnerableImages": 1,
                "lastScanned": "1620803141808",
                "scheduleStatusList": {
                    "Failed": 1,
                    "Finished": 1
                },
                "created": "1620727687491",
                "updated": "1620727687491",
                "dockerHubOrg": null,
                "providerType": null,
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": "13e7926e-c2d1-4c3a-82e5-6206e87c2d90"
            },
            {
                "registryUuid": "f318bf37-7057-468e-bef2-df58be174318",
                "registryUri": "https://registry-1.docker.io",
                "registryName": null,
                "registryType": "DockerHub",
                "repoCount": 0,
                "totalImages": 0,
                "totalScannedImages": 0,
                "totalVulnerableImages": 0,
                "lastScanned": "1619613556575",
                "scheduleStatusList": {
                    "Finished": 1
                },
                "created": "1619613551844",
                "updated": "1619613551844",
                "dockerHubOrg": null,
                "providerType": "DockerHub",
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "9689f568-8540-44d6-9e3f-37afa541125e",
                "registryUri": "http://localhost:5000",
                "registryName": null,
                "registryType": "V2_PRIVATE",
                "repoCount": 2,
                "totalImages": 0,
                "totalScannedImages": 0,
                "totalVulnerableImages": 0,
                "lastScanned": "1620032504853",
                "scheduleStatusList": {
                    "Failed": 1,
                    "Finished": 2
                },
                "created": "1620031756422",
                "updated": "1620031756422",
                "dockerHubOrg": "",
                "providerType": null,
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "af507fa3-f6c5-48c1-b050-b0dc6cdbc384",
                "registryUri": "https://registry-1.docker.io",
                "registryName": null,
                "registryType": "DockerHub",
                "repoCount": 0,
                "totalImages": 0,
                "totalScannedImages": 0,
                "totalVulnerableImages": 0,
                "lastScanned": "1619589174491",
                "scheduleStatusList": {
                    "Finished": 3
                },
                "created": "1619502950125",
                "updated": "1619502950125",
                "dockerHubOrg": null,
                "providerType": "DockerHub",
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "5ff3494a-4835-424f-802a-f7d774dde838",
                "registryUri": "https://registry-1.docker.io",
                "registryName": null,
                "registryType": "DockerHub",
                "repoCount": 1,
                "totalImages": 1,
                "totalScannedImages": 1,
                "totalVulnerableImages": 1,
                "lastScanned": "1610972695984",
                "scheduleStatusList": {
                    "Finished": 3
                },
                "created": null,
                "updated": "1610972060730",
                "dockerHubOrg": null,
                "providerType": "DockerHub",
                "awsAccountId": null,
                "awsRegion": null,
                "gcpProjectId": null,
                "acrConnectorId": null
            },
            {
                "registryUuid": "64995e98-63c0-4cbe-ba60-9b136cef7ce6",
                "registryUri": "https://362990800442.dkr.ecr.us-east-2.amazonaws.com",
                "registryName": null,
                "registryType": "AWS",
                "repoCount": 0,
                "totalImages": 0,
                "totalScannedImages": 0,
                "totalVulnerableImages": 0,
                "lastScanned": "1629175646359",
                "scheduleStatusList": {
                    "Finished": 2
                },
                "created": null,
                "updated": "1629175605577",
                "dockerHubOrg": null,
                "providerType": "AWS",
                "awsAccountId": "362990800442",
                "awsRegion": "us-east-2",
                "gcpProjectId": null,
                "acrConnectorId": null
            }
        ],
        "count": 11
    }