Queries the details of malicious image files.

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 DescribeAffectedMaliciousFileImages

The operation that you want to perform.

Set the value to DescribeAffectedMaliciousFileImages.

CurrentPage Integer Yes 1

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

PageSize String Yes 20

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

MaliciousMd5 String No d836968041f7683b5459****

The MD5 hash value of the malicious file.

Note You can call the DescribeGroupedMaliciousFilesoperation to query the MD5 hash value of the malicious file.
Lang String  No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
RepoRegionId String No cn-shanghai

The region ID of the image repository. Valid values:

  • cn-beijing: China (Beijing)
  • cn-zhangjiakou: China (Zhangjiakou-Beijing Winter Olympics)
  • cn-hangzhou: China (Hangzhou)
  • cn-shanghai: China (Shanghai)
  • cn-shenzhen: China (Shenzhen)
  • cn-hongkong: China (Hong Kong)
  • ap-southeast-1: Singapore (Singapore)
  • ap-southeast-5: Indonesia (Jakarta)
  • us-east-1: US (Virginia)
  • us-west-1: US (Silicon Valley)
  • eu-central-1: Germany (Frankfurt)
  • eu-west-1: UK (London)
  • ap-south-1: India (Mumbai)
RepoInstanceId String  No cri-datvailb****

The ID of the container image.

Note You can call the ListRepository operation to query the image ID based on the returned value of the InstanceId parameter.
RepoId String  No crr-vridcl4****

The ID of the image repository.

Note You can call the ListRepository operation to query the image ID based on the returned value of the RepoId parameter.
RepoName String  No centos

Specify the name of the image repository.

Note Fuzzy match is supported.
RepoNamespace String No hanghai-namespace

Specify the name of the repository namespace.

Note Fuzzy match is supported.
ImageTag String No 0.2

Specify the image tag.

ImageDigest String No 6a5e103187b31a94592a47a5858617f7a179ead61df7606****

The summary of the image.

ImageLayer String No 27213ad375b53628dd152a5ca****

The layer of the image.

Response parameters

Parameter Type Example Description
AffectedMaliciousFileImagesResponse Array

The list of detected malicious image samples.

Digest String 6a5e1031a5858617f7d8a179ead6****

The summary of the image.

FilePath String /d836968041f7683b5605a****

The path of the image file.

FirstScanTimestamp Long 1594907349000

The timestamp of the first scan.

ImageUuid String e05c0de798217637868ef4****

The UUID of the image.

LatestScanTimestamp Long 1596522785000

The timestamp of the last scan.

LatestVerifyTimestamp Long 1596522711000

The timestamp of the latest verification.

Layer String 27213ad3447f0209dd152a5cadea****

The layer of the image.

Level String serious

The severity of the malicious image sample. Valid values:

  • serious: high severity
  • suspicious: medium severity
  • remind: low severity
MaliciousMd5 String d836968041f768300d9605a****

The MD5 hash value of the file.

Namespace String hanghai-namespace

The name of the repository namespace.

RepoId String crr-vridcl4****

The ID of the image repository.

RepoInstanceId String cri-datvail3m****

The ID of the container image.

RepoName String centos

The name of the image repository.

RepoRegionId String cn-shanghai

The region ID of the image repository.

Status Integer 1

The process state of the malicious image sample. Valid values:

  • 0: unhandled
  • 1: handled
  • 2: being verified
  • 3: added to the whitelist
Tag String 0.2

The tag of the image.

PageInfo Struct

Statistics of the returned pages.

Count Integer 2

The number of malicious image samples returned on the current page.

CurrentPage Integer 1

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

PageSize Integer 20

The number of entries returned per page. Default value: 20.

TotalCount Integer 2

The total number of detected malicious image samples.

RequestId String ACF97412-FD09-4D1F-994F-34DF12BREF20

The ID of the request.

Examples

Sample request

http(s)://[Endpoint]/? Action=DescribeAffectedMaliciousFileImages
&CurrentPage=1
&PageSize=20
&<Common request parameters>

Sample success responses

XML format

<DescribeAffectedMaliciousFileImagesResponse>
      <AffectedMaliciousFileImagesResponse>
            <Status>0</Status>
            <FilePath>/d836968041f7683b5605a****</FilePath>
            <LatestScanTimestamp>1596522785000</LatestScanTimestamp>
            <RepoRegionId>cn-shanghai</RepoRegionId>
            <Digest>6a5e1031a5858617f7d8a179ead61df760671bf0a7252b****</Digest>
            <RepoName>centos</RepoName>
            <Layer>27213ad3447f0209dd152a5cadea0eac9b94d44c34a5****</Layer>
            <ImageUuid>e05c0de798217637868ef4****</ImageUuid>
            <Namespace>hanghai-namespace</Namespace>
            <RepoInstanceId>cri-datvail3m****</RepoInstanceId>
            <LatestVerifyTimestamp>1596522711000</LatestVerifyTimestamp>
            <Level>serious</Level>
            <Tag>0.2</Tag>
            <RepoId>crr-vridcl4q****</RepoId>
            <FirstScanTimestamp>1594907349000</FirstScanTimestamp>
            <MaliciousMd5>d836968041f768300d9605a****</MaliciousMd5>
      </AffectedMaliciousFileImagesResponse>
      <AffectedMaliciousFileImagesResponse>
            <Status>0</Status>
            <FilePath>/d836968041f7683b5d9605****</FilePath>
            <LatestScanTimestamp>1596533806000</LatestScanTimestamp>
            <RepoRegionId>cn-hangzhou</RepoRegionId>
            <Digest>640fd38d2efbd2c9ec29439e39c0f01c11b6127518eeb31aec1****</Digest>
            <RepoName>test2</RepoName>
            <Layer>27213ad375b53628dcdea09dd152a5cadea0eac9b94d44c34a5a****</Layer>
            <ImageUuid>fcf8224d5cf26c201a579bcfe59f****</ImageUuid>
            <Namespace>test</Namespace>
            <RepoInstanceId>cri-itxy1bs7****</RepoInstanceId>
            <LatestVerifyTimestamp>1596533801000</LatestVerifyTimestamp>
            <Level>serious</Level>
            <Tag>0.3</Tag>
            <RepoId>crr-2jwz0ee8****</RepoId>
            <FirstScanTimestamp>1596532246000</FirstScanTimestamp>
            <MaliciousMd5>d836968041f7683d9605a****</MaliciousMd5>
      </AffectedMaliciousFileImagesResponse>
      <PageInfo>
            <TotalCount>2</TotalCount>
            <PageSize>10</PageSize>
            <CurrentPage>1</CurrentPage>
            <Count>2</Count>
      </PageInfo>
      <RequestId>ACF97412-FD09-4D1F-994F-34DF12BREF20</RequestId>
</DescribeAffectedMaliciousFileImagesResponse>

JSON format

{
	"AffectedMaliciousFileImagesResponse": [{
		"Status": 0,
		"FilePath": "/d836968041f7683b5605a****",
		"LatestScanTimestamp": 1596522785000,
		"RepoRegionId": "cn-shanghai",
		"Digest": "6a5e1031a5858617f7d8a179ead61df760671bf0a7252ba****",
		"RepoName": "centos",
		"Layer": "27213ad3447f0209dd152a5cadea0eac9b94d44c34a5ac****",
		"ImageUuid": "e05c0de798217637868ef4****",
		"Namespace": "hanghai-namespace",
		"RepoInstanceId": "cri-datvail3m****",
		"LatestVerifyTimestamp": 1596522711000,
		"Level": "serious",
		"Tag": "0.2",
		"RepoId": "crr-vridcl4****",
		"FirstScanTimestamp": 1594907349000,
		"MaliciousMd5": "d836968041f768300d9605a****"
	}, {
		"Status": 0,
		"FilePath": "/d836968041f7683b5d9605a****",
		"LatestScanTimestamp": 1596533806000,
		"RepoRegionId": "cn-hangzhou",
		"Digest": "640fd38d2efbd2c9ec29439e39c0f01c11b6127518eeb31aec1****",
		"RepoName": "test2",
		"Layer": "27213ad375b53628dcdea09dd152a5cadea0eac9b94d44c34a5a****",
		"ImageUuid": "fcf8224d5cf26c201a579bcfe59****",
		"Namespace": "test",
		"RepoInstanceId": "cri-itxy1bs73****",
		"LatestVerifyTimestamp": 1596533801000,
		"Level": "serious",
		"Tag": "0.3",
		"RepoId": "crr-2jwz0ee8****",
		"FirstScanTimestamp": 1596532246000,
		"MaliciousMd5": "d836968041f7683d9605a****"
	}],
	"PageInfo": {
		"TotalCount": 2,
		"PageSize": 10,
		"CurrentPage": 1,
		"Count": 2
	},
	"RequestId": "ACF97412-FD09-4D1F-994F-34DF12BREF20"
}

Error codes.

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