All Products
Search
Document Center

Security Center:GetDockerhubImageRiskRankInfo

Last Updated:May 22, 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 types of image dimensions to be counted.

stringNo

The types of image dimensions to be counted.

  • vulAsap: Statistics on vulnerability scans
  • baseline: Statistics on baseline scans
baseline

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of this call request, a unique identifier generated by Alibaba Cloud for the request, which can be used for troubleshooting and problem localization.

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

Risk information.

VulAsaparray<object>

High-risk vulnerability risk information.

Imageobject

High-risk vulnerability risk information.

Uuidstring

The identifier for this record.

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

Image size.

1024
Digeststring

Image Digest value.

d97c1348e56eb52902888e6e5673623321b1f19ac45ed532c3114dc0f989****
HcCountinteger

Number of risks in the image repository.

0
Tagstring

Image tag.

app:app01-ubuntu
VulCountinteger

Number of vulnerabilities.

1
ImageIdstring

Image ID.

fabe4203a89765a2c99554040bda51eac7885a18216f4ac0be82710cff60****
RepoNamestring

Name of the image repository.

lkl-zf-ss-ordapi-labs
RepoNamespacestring

Namespace of the image repository.

namespace-01
RiskLevelDetailstring

Risk statistics for 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>

Baseline risk information.

Imageobject

Baseline risk information structure.

Uuidstring

Uuid.

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

Image size.

1024
Digeststring

Image digest value.

f28ecca63bfaf22ead4b28b63d752a21e4d2c1de90b8549fbde880d619f3****
HcCountinteger

Number of baseline risks in the image repository.

1
Tagstring

Image tag.

machineResource
VulCountinteger

Number of detected vulnerabilities.

1
ImageIdstring

ID of the image.

7c5ad02865aef575387a05bb3c81b27e0d8ed1f2e3f722ea05523b72882f****
RepoNamestring

Name of the container image repository.

glz123
RepoNamespacestring

Repository namespace.

namespace-01
RiskLevelDetailstring

Risk statistics for 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.