Queries the results of a security scan that is created for an image version.

Request information

Request line

GET /repos/RepoNamespace/RepoName/tags/Tag/scanResult HTTP/1.1

Request line parameters

Parameter Parameter location Type Required Sequence Example Description
RegionId Host String No 200 cn-shanghai The ID of the region.
RepoNamespace Path String Yes 200 ns1 The name of the namespace.
RepoName Path String Yes 200 repo1 The name of the image repository.
Tag Path String Yes 200 1 The image version.
Page Query Integer No 200 1 The page number of the returned page.
PageSize Query Integer No 200 30 The number of entries to return on each page.
Severity Query String No 200 High The severity of detected vulnerabilities. Valid values: High, Medium, Low, and Unknown.

Operation-specific request headers


Request body


Request body parameters


Response information

Response line

HTTP/1.1 200 OK

Operation-specific response headers


Response body

    "data": {},


Sample requests

GET /repos/RepoNamespace/RepoName/tags/Tag/scanStatus HTTP/1.1
Common request header { "RepoName": "repo1" "RepoNamespace": "ns1" "Tag": "1" }

Sample responses

HTTP/1.1 200 OK
<Common response headers>