Queries the number of vulnerabilities for each severity level. These vulnerabilities are detected in a security scan that is created for an image tag.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetRepoTagScanSummary

The operation that you want to perform. Set the value to GetRepoTagScanSummary.

InstanceId String Yes cri-2j88dtld8yel****

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

RepoId String Yes crr-uf082u9dg8do****

The ID of the image repository.

Tag String Yes 1

The name of the image tag.

ScanTaskId String No 6b0b094f-8a90-4f8f-b660-2427aed0****

The ID of the security scan task.

Response parameters

Parameter Type Example Description
Code String success

The return value.

HighSeverity Integer 22

The number of high-severity vulnerabilities.

IsSuccess Boolean true

Indicates whether the operation is successful.

LowSeverity Integer 89

The number of low-severity vulnerabilities.

MediumSeverity Integer 81

The number of medium-severity vulnerabilities.

RequestId String 9FD778B0-6D62-4B36-AD30-D0B0D99916B3

The ID of the request.

TotalSeverity Integer 196

The total number of vulnerabilities detected on images.

UnknownSeverity Integer 4

The number of unknown-severity vulnerabilities.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit API Error Center.