Queries image vulnerabilities.

Debugging

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 DescribeImageGroupedVulList

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

Type String No cve

The type of the image vulnerability. Valid values:

  • cve: image system vulnerability
  • sca: image application vulnerability
GroupId String No 1311

The ID of the asset group.

CveId String No CVE-2017-15420

The Common Vulnerabilities and Exposures (CVE) ID of the image vulnerability.

Uuids String No uuid-13134124****

The IDs of assets. Separate multiple IDs with commas (,).

AliasName String No DLA-1730-1: libssh2 LTS security update

The alias of the image vulnerability.

PatchId Long No 1341512412

The ID of the patch that is used to fix the image vulnerability.

Necessity String No asap

The priority to fix the image vulnerability. Valid values:

  • asap: high. You must fix the vulnerability at the earliest opportunity.
  • later: medium. You can fix the vulnerability based on your business requirements.
  • nntf: low. You can ignore the vulnerability.
CurrentPage Integer No 1

The number of the page to return. Pages start from page 1. Default value: 1.

PageSize Integer No 20

The number of entries to return on each page. Default value: 20.

RepoRegionId String No cn-hangzhou

The region ID of the image repository.

RepoInstanceId String No i-qewqrqcsadf****

The instance ID of the image repository.

RepoId String No qew****

The ID of the image repository.

RepoName String No libssh2

The name of the image repository.

RepoNamespace String No libssh2

The namespace to which the image repository belongs.

ImageTag String No oval

The tag added to the image.

ImageDigest String No w213412341dfsfasdfafadfasfasf

The digest of the image.

ImageLayer String No b1f5b9420803ad0657cf21566e3e20acc08581e7f22991249ef3aa80b8b1c587

The layer of the image.

Lang String No zh

The natural language of the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
CurrentPage Integer 2

The page number of the current page.

GroupedVulItems Array of GroupedVulItem

The details of image vulnerabilities.

AliasName String DLA-1730-1: libssh2 LTS security update

The alias of the image vulnerability.

AsapCount Integer 26

The number of image vulnerabilities that have the high priority.

GmtLast Long 1611201274000

The UNIX timestamp of when the first scan was performed. Unit: milliseconds.

LastScanTime Long 1611201274000

The UNIX timestamp of when the last scan was performed. Unit: milliseconds.

LaterCount Integer 26

The number of image vulnerabilities that have the medium priority.

Name String debian:9:CVE-2019-3858

The name of the image vulnerability.

NntfCount Integer 29

The number of image vulnerabilities that have the low priority.

Status Integer 0

The status of the image vulnerability.

Tags String Code execution

The tag added to the image vulnerability.

Type String cve

The type of the image vulnerability. Valid values:

  • cve: image system vulnerability
  • sca: image application vulnerability
PageSize Integer 20

The number of entries returned per page.

RequestId String 5E244439-UJND-8BF7-26F36E21B9AA

The ID of the request, which is used to locate and troubleshoot issues.

TotalCount Integer 21

The total number of image system vulnerabilities.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeImageGroupedVulList
&<Common request parameters>

Sample success responses

XML format

<code>200</code>
<data>
    <TotalCount>21</TotalCount>
    <PageSize>20</PageSize>
    <CurrentPage>2</CurrentPage>
    <GroupedVulItems>
        <Status>0</Status>
        <Type>cve</Type>
        <GmtLast>1611201274000</GmtLast>
        <LaterCount>26</LaterCount>
        <AliasName>DLA-1730-1: libssh2 LTS security update</AliasName>
        <AsapCount>26</AsapCount>
        <LastScanTime>1611201274000</LastScanTime>
        <NntfCount>29</NntfCount>
        <Tags>Code execution</Tags>
        <Name>debian:9:CVE-2019-3858</Name>
    </GroupedVulItems>
</data>
<requestId>5E244439-UJND-8BF7-26F36E21B9AA</requestId>
<success>true</success>

JSON format

{
	"code": 200,
	"data": {
		"TotalCount": 21,
		"PageSize": 20,
		"CurrentPage": 2,
		"GroupedVulItems": [{
			"Status": 0,
			"Type": "cve",
			"GmtLast": 1611201274000,
			"LaterCount": 26,
			"AliasName": "DLA-1730-1: libssh2 LTS security update",
			"AsapCount": 26,
			"LastScanTime": 1611201274000,
			"NntfCount": 29,
			"Tags": "Code execution",
			"Name": "debian:9:CVE-2019-3858"
		}]
	},
	"requestId": "5E244439-UJND-8BF7-26F36E21B9AA",
	"success": true
}

Error codes

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