All Products
Search
Document Center

Security Center:DescribeImageRepoDetailList

Last Updated:Jun 16, 2026

Retrieves a list of image repositories.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-sas:DescribeImageRepoDetailList

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Criteria

string

No

The search conditions for assets. This parameter is in JSON format and contains the following fields:

  • name: the search item.

  • value: the value of the search item.

  • logicalExp: the logical relationship among multiple search item values. Valid values:
    • OR: The search item values are evaluated by using a logical OR.

    • AND: The search item values are evaluated by using a logical AND.

Note

Call the DescribeImageRepoCriteria operation to query the supported search conditions.

[{"name":"vulStatus","value":"YES","logicalExp":"AND"}]

LogicalExp

string

No

The logical relationship among multiple search conditions. Valid values:

  • OR: The conditions are evaluated by using a logical OR.

  • AND: The conditions are evaluated by using a logical AND.

OR

PageSize

integer

No

The maximum number of entries per page when using paging. Default value: 20. If you leave this parameter empty, 20 entries are returned per page.

Note

Do not leave PageSize empty.

20

CurrentPage

integer

No

The page number of the first page to return. Default value: 1.

1

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.

0B48AB3C-84FC-424D-A01D-B9270EF46038

PageInfo

object

The pagination information.

CurrentPage

integer

The page number of the current page in a paged query.

1

PageSize

integer

The maximum number of entries per page in a paged query.

20

TotalCount

integer

The total number of image repositories.

19

Count

integer

The number of entries returned on the current page in a paged query.

2

ImageRepoResponses

array<object>

The list of image repositories.

object

The image repository information.

Endpoints

string

The endpoint of the image repository.

[ { "domains": [ "****.cn-shenzhen.cr.aliyuncs.com" ], "type": "internet" }, { "domains": [ "****.cn-shenzhen.cr.aliyuncs.com" ], "type": "intranet" }, { "domains": [ "****.cn-shenzhen.cr.aliyuncs.com" ], "type": "vpc" } ]

RiskStatus

string

Indicates whether the image repository has security risks. Valid values:

  • YES: Security risks exist.

  • NO: No security risks exist.

NO

VulStatus

string

Indicates whether the image repository has vulnerabilities. Valid values:

  • YES: Vulnerabilities exist.

  • NO: No vulnerabilities exist.

NO

AlarmStatus

string

Indicates whether the image repository has security alerts. Valid values:

  • YES: Security alerts exist.

  • NO: No security alerts exist.

NO

RegistryType

string

The type of the image repository. Valid values:

  • acr: acr.

  • harbor: harbor.

  • quay: quay.

  • CI/CD: CI/CD repository.

acr

InstanceId

string

The instance ID of the image asset.

i-uf6fsg6xlmorug5****

RegionId

string

The region ID of the image instance.

cn-shanghai

RepoId

string

The ID of the image repository.

crr-2chlzf47w2rk****

HcCount

integer

The number of baseline risks in the image repository.

0

VulCount

integer

The number of vulnerabilities in the image repository.

0

HcStatus

string

Indicates whether the image repository has baseline risks. Valid values:

  • NO: No baseline risks exist.

  • YES: Baseline risks exist.

NO

AlarmCount

integer

The number of security alerts in the image repository.

0

RepoName

string

The name of the image repository.

zeus

RepoNamespace

string

The namespace of the image repository.

test-dev

ImageCount

integer

The number of images.

3

HasRiskImageCount

integer

The number of images that have risks in the image repository.

2

SourceBizTag

string

The business purpose tag of the image.

PAI

Examples

Success response

JSON format

{
  "RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 19,
    "Count": 2
  },
  "ImageRepoResponses": [
    {
      "Endpoints": "[\n      {\n            \"domains\": [\n                  \"****.cn-shenzhen.cr.aliyuncs.com\"\n            ],\n            \"type\": \"internet\"\n      },\n      {\n            \"domains\": [\n                  \"****.cn-shenzhen.cr.aliyuncs.com\"\n            ],\n            \"type\": \"intranet\"\n      },\n      {\n            \"domains\": [\n                  \"****.cn-shenzhen.cr.aliyuncs.com\"\n            ],\n            \"type\": \"vpc\"\n      }\n]",
      "RiskStatus": "NO",
      "VulStatus": "NO",
      "AlarmStatus": "NO",
      "RegistryType": "acr",
      "InstanceId": "i-uf6fsg6xlmorug5****",
      "RegionId": "cn-shanghai",
      "RepoId": "crr-2chlzf47w2rk****",
      "HcCount": 0,
      "VulCount": 0,
      "HcStatus": "NO",
      "AlarmCount": 0,
      "RepoName": "zeus",
      "RepoNamespace": "test-dev",
      "ImageCount": 3,
      "HasRiskImageCount": 2,
      "SourceBizTag": "PAI"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

500 ServerError ServerError
403 NoPermission caller has no permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.