All Products
Search
Document Center

Security Center:GetDockerhubImageRiskRankInfo

Last Updated:Oct 24, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Queries the ranking of images in each dimension.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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:GetDockerhubImageRiskRankInfoget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TypesarrayNo

The dimension types.

stringNo

The dimension type. Valid values:

  • vulAsap: statistics of vulnerability scans.
  • baseline: statistics of baseline scans.
baseline

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

30CBF632-109F-596F-97F2-451C8B2A****
RiskRankInfoobject

The risk information.

VulAsaparray<object>

The risk information of high-risk vulnerabilities.

Imageobject

The risk information of the high-risk vulnerability.

Uuidstring

The UUID of the record.

6636c286-8063-4c97-8508-6aaf16a8****
ImageSizelong

The image size.

1024
Digeststring

The digest value of the image.

d97c1348e56eb52902888e6e5673623321b1f19ac45ed532c3114dc0f989****
HcCountinteger

The number of risks detected on the image repository.

0
Tagstring

The tag of the image.

app:app01-ubuntu
VulCountinteger

The number of vulnerabilities.

1
ImageIdstring

The image ID.

fabe4203a89765a2c99554040bda51eac7885a18216f4ac0be82710cff60****
RepoNamestring

The name of the image repository.

lkl-zf-ss-ordapi-labs
RepoNamespacestring

The namespace to which the image repository belongs.

namespace-01
RiskLevelDetailstring

The risk statistics of all hosts, images, and containers.

{\"account\":0,\"agentlessAll\":0,\"agentlessBaseline\":0,\"agentlessMalicious\":0,\"agentlessSensitiveFile\":0,\"agentlessVulCve\":0,\"agentlessVulSca\":0,\"agentlessVulSys\":0,\"appNum\":0,\"asapVulCount\":0,\"baselineHigh\":0,\"baselineLow\":0,\"baselineMedium\":0,\"baselineNum\":0,\"cmsNum\":0,\"containerAsap\":0,\"containerLater\":0,\"containerNntf\":0,\"containerRemind\":0,\"containerSerious\":0,\"containerSuspicious\":0,\"cveNum\":513,\"emgNum\":0,\"health\":0,\"imageBaselineHigh\":0,\"imageBaselineLow\":0,\"imageBaselineMedium\":0,\"imageBaselineNum\":0,\"imageMaliciousFileRemind\":0,\"imageMaliciousFileSerious\":0,\"imageMaliciousFileSuspicious\":0,\"imageVulAsap\":3,\"imageVulLater\":182,\"imageVulNntf\":328,\"laterVulCount\":0,\"newSuspicious\":0,\"nntfVulCount\":0,\"remindNum\":0,\"scaNum\":0,\"seriousNum\":0,\"suspNum\":0,\"suspicious\":0,\"sysNum\":0,\"trojan\":0,\"uuid\":\"44ffb29d6f66d8509598bcdfa660a21d\",\"vul\":513,\"weakPWNum\":0}
Baselinearray<object>

The baseline risks.

Imageobject

The baseline risk.

Uuidstring

The UUID of the record.

5583aa03-922e-4709-a888-389f2489****
ImageSizelong

The image size.

1024
Digeststring

The digest value of the image.

f28ecca63bfaf22ead4b28b63d752a21e4d2c1de90b8549fbde880d619f3****
HcCountinteger

The number of baseline risks detected on the image repository.

1
Tagstring

The tag of the image.

machineResource
VulCountinteger

The number of detected vulnerabilities.

1
ImageIdstring

The ID of the image.

7c5ad02865aef575387a05bb3c81b27e0d8ed1f2e3f722ea05523b72882f****
RepoNamestring

The name of the Container Registry repository.

glz123
RepoNamespacestring

The namespace to which the repository belongs.

namespace-01
RiskLevelDetailstring

The risk statistics of all hosts, images, and containers.

{\"account\":0,\"agentlessAll\":0,\"agentlessBaseline\":0,\"agentlessMalicious\":0,\"agentlessSensitiveFile\":0,\"agentlessVulCve\":0,\"agentlessVulSca\":0,\"agentlessVulSys\":0,\"appNum\":0,\"asapVulCount\":0,\"baselineHigh\":0,\"baselineLow\":0,\"baselineMedium\":0,\"baselineNum\":0,\"cmsNum\":0,\"containerAsap\":0,\"containerLater\":0,\"containerNntf\":0,\"containerRemind\":0,\"containerSerious\":0,\"containerSuspicious\":0,\"cveNum\":0,\"emgNum\":0,\"health\":0,\"imageBaselineHigh\":1,\"imageBaselineLow\":0,\"imageBaselineMedium\":0,\"imageBaselineNum\":1,\"imageMaliciousFileRemind\":0,\"imageMaliciousFileSerious\":0,\"imageMaliciousFileSuspicious\":0,\"imageVulAsap\":0,\"imageVulLater\":0,\"imageVulNntf\":0,\"laterVulCount\":0,\"newSuspicious\":0,\"nntfVulCount\":0,\"remindNum\":0,\"scaNum\":0,\"seriousNum\":0,\"suspNum\":0,\"suspicious\":0,\"sysNum\":0,\"trojan\":0,\"uuid\":\"009635bf00c0585e3122ab92f5449919\",\"vul\":0,\"weakPWNum\":0}

Examples

Sample success responses

JSONformat

{
  "RequestId": "30CBF632-109F-596F-97F2-451C8B2A****",
  "RiskRankInfo": {
    "VulAsap": [
      {
        "Uuid": "6636c286-8063-4c97-8508-6aaf16a8****",
        "ImageSize": 1024,
        "Digest": "d97c1348e56eb52902888e6e5673623321b1f19ac45ed532c3114dc0f989****",
        "HcCount": 0,
        "Tag": "app:app01-ubuntu",
        "VulCount": 1,
        "ImageId": "fabe4203a89765a2c99554040bda51eac7885a18216f4ac0be82710cff60****",
        "RepoName": "lkl-zf-ss-ordapi-labs",
        "RepoNamespace": "namespace-01",
        "RiskLevelDetail": "{\\\"account\\\":0,\\\"agentlessAll\\\":0,\\\"agentlessBaseline\\\":0,\\\"agentlessMalicious\\\":0,\\\"agentlessSensitiveFile\\\":0,\\\"agentlessVulCve\\\":0,\\\"agentlessVulSca\\\":0,\\\"agentlessVulSys\\\":0,\\\"appNum\\\":0,\\\"asapVulCount\\\":0,\\\"baselineHigh\\\":0,\\\"baselineLow\\\":0,\\\"baselineMedium\\\":0,\\\"baselineNum\\\":0,\\\"cmsNum\\\":0,\\\"containerAsap\\\":0,\\\"containerLater\\\":0,\\\"containerNntf\\\":0,\\\"containerRemind\\\":0,\\\"containerSerious\\\":0,\\\"containerSuspicious\\\":0,\\\"cveNum\\\":513,\\\"emgNum\\\":0,\\\"health\\\":0,\\\"imageBaselineHigh\\\":0,\\\"imageBaselineLow\\\":0,\\\"imageBaselineMedium\\\":0,\\\"imageBaselineNum\\\":0,\\\"imageMaliciousFileRemind\\\":0,\\\"imageMaliciousFileSerious\\\":0,\\\"imageMaliciousFileSuspicious\\\":0,\\\"imageVulAsap\\\":3,\\\"imageVulLater\\\":182,\\\"imageVulNntf\\\":328,\\\"laterVulCount\\\":0,\\\"newSuspicious\\\":0,\\\"nntfVulCount\\\":0,\\\"remindNum\\\":0,\\\"scaNum\\\":0,\\\"seriousNum\\\":0,\\\"suspNum\\\":0,\\\"suspicious\\\":0,\\\"sysNum\\\":0,\\\"trojan\\\":0,\\\"uuid\\\":\\\"44ffb29d6f66d8509598bcdfa660a21d\\\",\\\"vul\\\":513,\\\"weakPWNum\\\":0}"
      }
    ],
    "Baseline": [
      {
        "Uuid": "5583aa03-922e-4709-a888-389f2489****",
        "ImageSize": 1024,
        "Digest": "f28ecca63bfaf22ead4b28b63d752a21e4d2c1de90b8549fbde880d619f3****",
        "HcCount": 1,
        "Tag": "machineResource",
        "VulCount": 1,
        "ImageId": "7c5ad02865aef575387a05bb3c81b27e0d8ed1f2e3f722ea05523b72882f****",
        "RepoName": "glz123",
        "RepoNamespace": "namespace-01\n",
        "RiskLevelDetail": "{\\\"account\\\":0,\\\"agentlessAll\\\":0,\\\"agentlessBaseline\\\":0,\\\"agentlessMalicious\\\":0,\\\"agentlessSensitiveFile\\\":0,\\\"agentlessVulCve\\\":0,\\\"agentlessVulSca\\\":0,\\\"agentlessVulSys\\\":0,\\\"appNum\\\":0,\\\"asapVulCount\\\":0,\\\"baselineHigh\\\":0,\\\"baselineLow\\\":0,\\\"baselineMedium\\\":0,\\\"baselineNum\\\":0,\\\"cmsNum\\\":0,\\\"containerAsap\\\":0,\\\"containerLater\\\":0,\\\"containerNntf\\\":0,\\\"containerRemind\\\":0,\\\"containerSerious\\\":0,\\\"containerSuspicious\\\":0,\\\"cveNum\\\":0,\\\"emgNum\\\":0,\\\"health\\\":0,\\\"imageBaselineHigh\\\":1,\\\"imageBaselineLow\\\":0,\\\"imageBaselineMedium\\\":0,\\\"imageBaselineNum\\\":1,\\\"imageMaliciousFileRemind\\\":0,\\\"imageMaliciousFileSerious\\\":0,\\\"imageMaliciousFileSuspicious\\\":0,\\\"imageVulAsap\\\":0,\\\"imageVulLater\\\":0,\\\"imageVulNntf\\\":0,\\\"laterVulCount\\\":0,\\\"newSuspicious\\\":0,\\\"nntfVulCount\\\":0,\\\"remindNum\\\":0,\\\"scaNum\\\":0,\\\"seriousNum\\\":0,\\\"suspNum\\\":0,\\\"suspicious\\\":0,\\\"sysNum\\\":0,\\\"trojan\\\":0,\\\"uuid\\\":\\\"009635bf00c0585e3122ab92f5449919\\\",\\\"vul\\\":0,\\\"weakPWNum\\\":0}"
      }
    ]
  }
}

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.