All Products
Search
Document Center

Security Center:ListInstanceCatalog

Last Updated:Nov 13, 2024

Queries the asset types and asset subtypes for configuration assessment.

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

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

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

  • zh: Chinese
  • en: English
zh
RegionIdstringNo

The ID of the region in which the asset resides. Valid values:

  • cn-hangzhou: International
  • ap-southeast-1: Singapore
cn-hangzhou
TypesarrayNo

The types of check standards.

stringNo

The type of the check standard. Valid values:

  • RISK: Alibaba Cloud best security practices
  • COMPLIANCE: Center for Internet Security (CIS) compliance
  • IDENTITY_PERMISSION: identity and permission management
RISK
StandardIdsarrayNo

The IDs of standards.

longNo

The IDs of standards.

Note You can call the ListCheckStandard operation to query the ID.
2
RequirementIdsarrayNo

The IDs of requirement items.

longNo

The IDs of requirement items.

Note You can call the ListCheckStandard operation to query the ID.
27

Response parameters

ParameterTypeDescriptionExample
object

GetCheckConfigResponse

RequestIdstring

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

0D42A83F-CE33-5F54-A5AE-05DA39F59E1B
Vendorsarray<object>

An array that consists of the asset types by service provider.

Vendorsobject

The asset type by service provider.

Namestring

The name of the service provider.

ALIYUN
InstanceTypesarray<object>

An array that consists of asset types.

InstanceTypesobject

The information about the asset type.

Namestring

The name of the asset type.

ECS
InstanceSubTypesarray<object>

An array that consists of asset subtypes.

InstanceSubTypesobject

The asset subtype.

Namestring

The name of the asset subtype.

SECURITY_GROUP

Examples

Sample success responses

JSONformat

{
  "RequestId": "0D42A83F-CE33-5F54-A5AE-05DA39F59E1B",
  "Vendors": [
    {
      "Name": "ALIYUN",
      "InstanceTypes": [
        {
          "Name": "ECS",
          "InstanceSubTypes": [
            {
              "Name": "SECURITY_GROUP"
            }
          ]
        }
      ]
    }
  ]
}

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