All Products
Search
Document Center

Security Center:DescribeAffectedMaliciousFileImages

Last Updated:Feb 20, 2024

Queries the details of malicious image samples.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribeAffectedMaliciousFileImagesRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
MaliciousMd5stringNo

The MD5 hash value of the malicious image sample.

Note You can call the DescribeGroupedMaliciousFiles operation to query the MD5 hash values of malicious image samples.
d836968041f7683b5459****
CurrentPageintegerYes

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

1
PageSizestringYes

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

20
LangstringNo

The language of the content within the request and the response. Valid values:

  • zh: Chinese
  • en: English
zh
RepoRegionIdstringNo

The region ID of the image repository. Valid values:

  • cn-beijing: China (Beijing)
  • cn-zhangjiakou: China (Zhangjiakou)
  • cn-hangzhou: China (Hangzhou)
  • cn-shanghai: China (Shanghai)
  • cn-shenzhen: China (Shenzhen)
  • cn-hongkong: China (Hong Kong)
  • ap-southeast-1: 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)
cn-hangzhou
RepoInstanceIdstringNo

The ID of the container image.

Note You can call the ListRepository operation to query the IDs of container images from the value of the InstanceId response parameter.
cri-datvailb****
RepoIdstringNo

The ID of the image repository.

Note You can call the ListRepository operation to query the IDs of image repositories from the value of the RepoId response parameter.
crr-vridcl4****
RepoNamestringNo

The name of the image repository.

Note Fuzzy match is supported.
centos
RepoNamespacestringNo

The namespace to which the image repository belongs.

Note Fuzzy match is supported.
hanghai-namespace
ImageTagstringNo

The tag that is added to the image.

0.2
ImageDigeststringNo

The image digest.

6a5e103187b31a94592a47a5858617f7a179ead61df7606****
ImageLayerstringNo

The image layer.

27213ad375b53628dd152a5ca****
ClusterIdstringNo

The ID of the container cluster.

Note You can call the DescribeGroupedContainerInstances operation to query the IDs of container clusters.
c60b77fe62093480db6164a3c2fa5****
ScanRangearrayNo

The types of the assets that you want to scan.

stringNo

The type of the asset that you want to scan. Valid values:

  • container
  • image
image
ClusterNamestringNo

The name of the cluster.

minikube
ContainerIdstringNo

The ID of the container.

cc20a1024011c44b6a8710d6f8b****
PodstringNo

The pod.

22222-7xsqq
NamespacestringNo

The namespace.

test-002
ImagestringNo

The name of the container image.

registry.cn-wulanchabu.aliyuncs.com/sas_test/huxin-test-001:nuxeo6-****
LevelsstringNo

The severity level of the malicious image sample. Separate multiple severity levels with commas (,). Valid values:

  • serious
  • suspicious
  • remind
serious,suspicious
StatusstringNo

The status of the malicious image sample. Valid values:

  • 0: The malicious image sample is not handled.
  • 1: The malicious image sample is handled.
  • 2: The malicious image sample is being verified.
  • 3: The malicious image sample is added to the whitelist.
0

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

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

ACF97412-FD09-4D1F-994F-34DF12BREF20
PageInfoobject

The pagination information.

CurrentPageinteger

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

1
PageSizeinteger

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

20
TotalCountinteger

The total number of images that have malicious image samples.

2
Countinteger

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

2
AffectedMaliciousFileImagesResponseobject []

An array consisting of the images that have malicious image samples.

Statusinteger

The handling status of the malicious image sample. Valid values:

  • 0: unhandled
  • 1: handled
  • 2: verifying
  • 3: added to the whitelist
1
Digeststring

The image digest.

6a5e1031a5858617f7d8a179ead6****
LatestVerifyTimestamplong

The timestamp of the last verification.

1596522711000
RepoInstanceIdstring

The ID of the container image.

cri-datvail3m****
Namespacestring

The namespace to which the image repository belongs.

hanghai-namespace
Tagstring

The tag that is added to the image.

0.2
RepoRegionIdstring

The region ID of the image repository.

cn-shanghai
ImageUuidstring

The UUID of the image.

e05c0de798217637868ef4****
FirstScanTimestamplong

The timestamp of the first scan.

1594907349000
MaliciousMd5string

The MD5 hash value of the malicious image sample.

d836968041f768300d9605a****
FilePathstring

The path to the image file.

/d836968041f7683b5605a****
RepoIdstring

The ID of the image repository.

crr-vridcl4****
Layerstring

The image layer.

27213ad3447f0209dd152a5cadea****
LatestScanTimestamplong

The timestamp of the last scan.

1596522785000
RepoNamestring

The name of the image repository.

centos
Levelstring

The severity of the malicious image sample. Valid values:

  • serious
  • suspicious
  • remind
serious
DownloadUrlstring

The URL to download the malicious image sample.

https://aegis-metadata-file.oss-cn-shanghai.aliyuncs.com/
HighLightstring

The text that is highlighted.

{"ruleVersion":"highlight_20210908","ruleId":600106,"events":[[2,54]]}
ContainerIdstring

The ID of the container.

04d20e98c8e2c93b7b864372084320a15a58c8671e53c972ce3a71d9c163****
Imagestring

The name of the image.

registry.cn-wulanchabu.aliyuncs.com/sas_test/huxin-test-001:nuxeo6-conta****
Podstring

The pod.

22222-7xsqq
ClusterIdstring

The ID of the cluster.

c08d5fc1a329a4b88950a253d082f1****
ClusterNamestring

The name of the cluster.

docker-law
InstanceNamestring

The name of the ECS instance.

sql-test-001
InternetIpstring

The public IP address of the server.

47.101.XX.XX
IntranetIpstring

The private IP address of the server.

172.22.XX.XX
TargetIdstring

The ID of the task object.

m-bp17m0pc0xprzbwo****
TargetNamestring

The name of the task object.

source-test-obj-9LaLJ
TargetTypestring

The object type. Valid value:

  • ECS_IMAGE
ECS_IMAGE
Uuidstring

The UUID of the server.

48a473c4-1650-4931-a822-7e6c2c28****

Examples

Sample success responses

JSONformat

{
  "RequestId": "ACF97412-FD09-4D1F-994F-34DF12BREF20",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 2,
    "Count": 2
  },
  "AffectedMaliciousFileImagesResponse": [
    {
      "Status": 1,
      "Digest": "6a5e1031a5858617f7d8a179ead6****",
      "LatestVerifyTimestamp": 1596522711000,
      "RepoInstanceId": "cri-datvail3m****",
      "Namespace": "hanghai-namespace",
      "Tag": "0.2",
      "RepoRegionId": "cn-shanghai",
      "ImageUuid": "e05c0de798217637868ef4****",
      "FirstScanTimestamp": 1594907349000,
      "MaliciousMd5": "d836968041f768300d9605a****",
      "FilePath": "/d836968041f7683b5605a****",
      "RepoId": "crr-vridcl4****",
      "Layer": "27213ad3447f0209dd152a5cadea****",
      "LatestScanTimestamp": 1596522785000,
      "RepoName": "centos",
      "Level": "serious",
      "DownloadUrl": "https://aegis-metadata-file.oss-cn-shanghai.aliyuncs.com/",
      "HighLight": "{\"ruleVersion\":\"highlight_20210908\",\"ruleId\":600106,\"events\":[[2,54]]}",
      "ContainerId": "04d20e98c8e2c93b7b864372084320a15a58c8671e53c972ce3a71d9c163****",
      "Image": "registry.cn-wulanchabu.aliyuncs.com/sas_test/huxin-test-001:nuxeo6-conta****",
      "Pod": "22222-7xsqq",
      "ClusterId": "c08d5fc1a329a4b88950a253d082f1****",
      "ClusterName": "docker-law",
      "InstanceName": "sql-test-001",
      "InternetIp": "47.101.XX.XX",
      "IntranetIp": "172.22.XX.XX",
      "TargetId": "m-bp17m0pc0xprzbwo****",
      "TargetName": "source-test-obj-9LaLJ",
      "TargetType": "ECS_IMAGE",
      "Uuid": "48a473c4-1650-4931-a822-7e6c2c28****"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-10-17The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: Status
2022-09-19The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.