List scanner registrations
Returns a list of currently configured scanner registrations.
Query parameters
Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=v)", "range(k=[minmax])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=v2,k3=[minmax]
Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
The page number
The size of per page
Headers
An unique ID for the request
Response
A list of scanner registrations.
Example response
[
{
"name": "Trivy",
"description": "A free-to-use tool that scans container images for package vulnerabilities.\n",
"url": "http://harbor-scanner-trivy:8080",
"auth": "Bearer",
"access_credential": "Bearer: JWTTOKENGOESHERE",
"adapter": "Trivy",
"vendor": "CentOS",
"version": "1.0.1",
"health": "healthy",
"capabilities": {
"support_vulnerability": true,
"support_sbom": true
}
}
]