Fetch a List of Registries in Your Account
Shows a list of registries in your account.
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,
"totalFailedImages": 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,
"totalFailedImages": 0,"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,
"totalFailedImages": 0,"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,
"totalFailedImages": 0,"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" }, . . . ], "count": 11 }