Container Registry API, REST: Scanner.listVulnerabilities
Retrieves the list of vulnerabilities found in particular scan.
HTTP request
GET https://container-registry.api.il.nebius.cloud/container-registry/v1/scans/{scanResultId}:listVulnerabilities
Path parameters
Parameter | Description |
---|---|
scanResultId | Required. ID of the ScanResult to get list of vulnerabilities for. The maximum string length in characters is 50. |
Query parameters
Parameter | Description |
---|---|
pageSize | The maximum number of results per page to return. If the number of available results is larger than pageSize, the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Default value: 100. Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. To get the next page of results, set pageToken to the nextPageToken returned by a previous list request. The maximum string length in characters is 100. |
filter | A filter expression that filters resources listed in the response. The expression must specify:
The maximum string length in characters is 1000. |
orderBy | An order expression that orders resources listed in the response. The expression must specify:
The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"vulnerabilities": [
{
"severity": "string",
"package": {
"name": "string",
"link": "string",
"package": "string",
"source": "string",
"version": "string",
"fixedBy": "string"
}
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
vulnerabilities[] | object List of Vulnerability resources. |
vulnerabilities[]. severity |
string Output only. Severity of the Vulnerability.
|
vulnerabilities[]. package |
object A PackageVulnerability resource. |
vulnerabilities[]. package. name |
string Name of vulnerability in CVE database. |
vulnerabilities[]. package. link |
string URL to the page with description of vulnerability. |
vulnerabilities[]. package. package |
string The package name where vulnerability has been found. |
vulnerabilities[]. package. source |
string The package manager name. Ex.: yum, rpm, dpkg. |
vulnerabilities[]. package. version |
string The version of the package where vulnerability has been found. |
vulnerabilities[]. package. fixedBy |
string The version of the package where vulnerability has been fixed. |
nextPageToken | string This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use the nextPageToken as the value for the pageToken query parameter in the next list request. Each subsequent list request will have its own nextPageToken to continue paging through the results. |