All Products
Search
Document Center

Security Center:DescribeImageInfoList

Last Updated:Feb 20, 2024

Queries images.

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:DescribeImageInfoListRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
UuidsstringYes

The UUID of the server. Separate multiple UUIDs with commas (,).

Note You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
391abd09184cbd3743d7f5ec125d****, e6aeb2a5b6004479398b0bcd1160****

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

RequestIdstring

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

BC3B0DAE-CC0E-59E9-9383-6F060F22****
ImageInfosobject []

An array that consists of the information about images.

Statusstring

The status of the image.

NORMAL
Endpointsstring

The endpoint of Container Registry.

cn-hangzhou-x7
RiskStatusstring

Indicates whether the image is at risk. Valid values:

  • YES
  • NO
YES
VulStatusstring

Indicates whether vulnerabilities are detected on the asset. Valid values:

  • YES
  • NO
YES
ImageCreatelong

The time when the image was created.

1636962328000
AlarmStatusstring

Indicates whether alerts are generated on the asset. Valid values:

  • YES
  • NO
YES
Digeststring

The digest value of the image.

a3521b04dfdd1361a24be6263f2983cf12ba910989f4d9f7324da7e1e89f****
RegistryTypestring

The type of the registration.

harbor
ImageUpdatelong

The time when the image was updated.

1636974116000
Tagstring

The tag that is added to the image.

v1
InstanceIdstring

The ID of the image instance.

i-wz95abw6pa7y79ve****
RepoTypestring

The type of the image repository. Valid values:

  • PUBLIC
  • PRIVATE
PUBLIC
RegionIdstring

The region ID of the image instance.

cn-hangzhou
Uuidstring

The UUID of the server.

ff9ca084-7faa-4ab2-8728-69024755****
ImageSizelong

The size of the image.

157408623
RepoIdstring

The ID of the image repository.

crr-5qk9v2rdt0s****
TagImmutableinteger

The tag immutability.

Enumeration Value:
  • 0
  • 1
0
VulCountinteger

The total number of vulnerabilities in your assets.

1
AlarmCountinteger

The number of alerts that are generated on the current pod, application, namespace, or cluster.

10
ImageIdstring

The ID of the image.

bb0175afea16138815a8900adeeb0315d88a83a2376eeffa14db1d693a15****
RepoNamestring

The name of the image repository.

opa-test
RepoNamespacestring

The namespace to which the image repository belongs.

libssh2

Examples

Sample success responses

JSONformat

{
  "RequestId": "BC3B0DAE-CC0E-59E9-9383-6F060F22****",
  "ImageInfos": [
    {
      "Status": "NORMAL",
      "Endpoints": "cn-hangzhou-x7",
      "RiskStatus": "YES",
      "VulStatus": "YES",
      "ImageCreate": 1636962328000,
      "AlarmStatus": "YES",
      "Digest": "a3521b04dfdd1361a24be6263f2983cf12ba910989f4d9f7324da7e1e89f****",
      "RegistryType": "harbor",
      "ImageUpdate": 1636974116000,
      "Tag": "v1",
      "InstanceId": "i-wz95abw6pa7y79ve****",
      "RepoType": "PUBLIC",
      "RegionId": "cn-hangzhou",
      "Uuid": "ff9ca084-7faa-4ab2-8728-69024755****",
      "ImageSize": 157408623,
      "RepoId": "crr-5qk9v2rdt0s****",
      "TagImmutable": 0,
      "VulCount": 1,
      "AlarmCount": 10,
      "ImageId": "bb0175afea16138815a8900adeeb0315d88a83a2376eeffa14db1d693a15****",
      "RepoName": "opa-test",
      "RepoNamespace": "libssh2"
    }
  ]
}

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
No change history