All Products
Search
Document Center

Security Center:ListCheckRule

Last Updated:Nov 18, 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.

Display cloud product configuration check rules

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

Request parameters

ParameterTypeRequiredDescriptionExample
CheckIdlongNo

The ID of the check item.

Note You can call the ListCheckResult API to get the check item ID.
58
CheckNamestringNo

The name of the check item.

checkName
RuleTypestringNo

The type of rule. Default is WHITE. Values:

  • WHITE: Add to whitelist
WHITE
ScopeTypestringNo

The scope where the rule applies. Values:

  • INSTNACE: Instance
  • ITEM: Check item
INSTANCE
CurrentPageintegerNo

The page number displayed in a paginated query.

1
PageSizeintegerNo

The number of check items displayed per page in a paginated query. The default value is 20, indicating 20 check items per page.

20
LangstringNo

Set the language type for the request and response messages. The default is zh. Values:

  • zh: Chinese
  • en: English
zh
TaskSourcesarrayNo

List of task sources.

stringNo

Task source. Values: - YAO_CHI: Yaochi Console.

YAO_CHI

Response parameters

ParameterTypeDescriptionExample
object

The data type returned.

RequestIdstring

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

52870893-48A7-5A9E-9E05-6253E5B6****
CheckRulesarray<object>

Check rules.

checkRulesobject
AliUidlong

The UID of the current user.

176316827610****
Vendorinteger

The server vendor. Values:

  • 0: Alibaba Cloud asset
  • 1: Non-cloud asset
  • 2: IDC asset
  • 3, 4, 5, 7: Other cloud assets
0
AssetTypeinteger

The type of cloud asset.

Note For specific meanings, refer to the GetCloudAssetCriteria AssetType.
1
CheckIdlong

The ID of the check item.

77
ScopeTypestring

The scope where the rule applies. Values:

  • INSTNACE: Instance
  • ITEM: Check item
INSTANCE
RuleTypestring

The type of rule. Default is WHITE. Values:

  • WHITE: Add to whitelist
WHITE
RuleIdlong

The ID of the rule.

8000**
CheckShowNamestring

The name of the check item.

Check for IPS Whitelist on CEN (Enterprise Edition) Tab
CheckPoliciesarray<object>

The display name of the check item section.

checkPoliciesobject

The display name of the check item section.

sectionShowNamestring

Display name of the item's chapter.

Access Control
AssetSubTypeinteger

The subtype of the cloud product.

Note For specific meanings, refer to the GetCloudAssetCriteria AssetSubType.
0
VendorNamestring

The name of the server provider.

ALIYUN
InstanceTypestring

The asset type of the cloud product.

ecs
InstanceSubTypestring

The sub-asset type of the cloud product.

INSTANCE
Remarkstring

Remark.

remark
PageInfoobject

Pagination information.

CurrentPageinteger

The page number in a paginated query.

1
PageSizeinteger

The maximum number of data entries displayed per page in a paginated query.

20
Countinteger

The number of data entries displayed on the current page.

10
TotalCountinteger

Total number of data entries.

10

Examples

Sample success responses

JSONformat

{
  "RequestId": "52870893-48A7-5A9E-9E05-6253E5B6****",
  "CheckRules": [
    {
      "AliUid": 0,
      "Vendor": 0,
      "AssetType": 1,
      "CheckId": 77,
      "ScopeType": "INSTANCE",
      "RuleType": "WHITE",
      "RuleId": 0,
      "CheckShowName": "Check for IPS Whitelist on CEN (Enterprise Edition) Tab",
      "CheckPolicies": [
        {
          "sectionShowName": "Access Control"
        }
      ],
      "AssetSubType": 0,
      "VendorName": "ALIYUN",
      "InstanceType": "ecs",
      "InstanceSubType": "INSTANCE",
      "Remark": "remark"
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "Count": 10,
    "TotalCount": 10
  }
}

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.