Shows a list of repositories in a registry.
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
registryId |
Mandatory |
string |
The ID of the registry for which you want to list the repositories. |
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, repositoryName:asc. Refer to the “Sortable tokens” topic in the online help for more information. |
API request
curl -X GET
"<qualys_base_url>/csapi/v1.3/registry/995a2ab4-48dc-48ef-905d-9ecf846d63cb/repository?pageNumber=1&pageSize=50" --header "Authorization: Bearer <token>"
Response
{
"data": [
{
"repoName": "qualys/cms/cms-processor-service",
"totalImages": 4,
"totalScannedImages": 4,
"totalVulnerableImages": 2
},
{
"repoName": "qualys/cms/cms-api-service",
"totalImages": 4,
"totalScannedImages": 4,
"totalVulnerableImages": 1
}
],
"count": 2,
"groups": {}
}
Was this topic helpful?