All Products
Search
Document Center

Security Center:CreateCheckItem

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

User creates a custom check item

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:CreateCheckItemcreate
*CustomCheckItem
acs:yundun-sas:{#regionId}:{#accountId}:customcheckitem/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SectionIdsarrayYes

Array of section IDs associated with the check item.

longYes

Section ID associated with the check item.

Note You can call the ListCheckPolicies API to get the check item ID.
1000000000001
VendorstringYes

Cloud asset vendor.

Note You can call the ListCloudAssetSchemas API to get the available vendors.
ALIYUN
InstanceTypestringYes

Asset type of the cloud product.

Note You can call the ListCloudAssetSchemas API to get this parameter.
ECS
InstanceSubTypestringYes

Sub-asset type of the cloud product.

Note You can call the ListCloudAssetSchemas API to get this parameter.
DISK
CheckShowNamestringYes

Name of the custom check item.

testCheckItemName
RiskLevelstringYes

Risk level of the check item. Values:

  • HIGH: High risk
  • MEDIUM: Medium risk
  • LOW: Low risk
LOW
StatusstringYes

Status of the check item. Values:

  • EDIT: In editing
  • RELEASE: Released
Note
  • Changing from Released to In editing will clear all historical records
  • Only the Released status allows the use of the check item for inspection.
  • EDIT
    RemarkstringNo

    Remark information.

    remark
    DescriptionobjectNo

    Description information of the check item.

    TypestringNo

    Type of the check item description information. Values:

    • text: Text
    text
    ValuestringNo

    Specific content of the description.

    custom description.
    AssistInfoobjectNo

    Help information for the check item.

    TypestringNo

    Type of the help information for the check item risk. Values:

    • text: Text
    text
    ValuestringNo

    Content of the help information for the check item risk.

    custom assistInfo.
    SolutionobjectNo

    Solution information for the check item.

    TypestringNo

    Type of the solution information for the check item. Values:

    • text: Text
    text
    ValuestringNo

    Content of the solution for the check item risk.

    text
    CheckRulestringYes

    Definition rule for the custom check item.

    {"AssociatedData":{"ToDataList":[{"DataName":"ACS_ECS_Instance","PropertyPath":"InstanceId","FromPropertyPath":"InstanceId"}]},"MatchProperty":{"Operator":"AND","MatchProperties":[{"DataName":"ACS_ECS_Disk","PropertyPath":"InstanceId","MatchOperator":"EQ","MatchPropertyValue":"testId"},{"DataName":"ACS_ECS_Instance","PropertyPath":"InstanceId","MatchOperator":"EQ","MatchPropertyValue":"testInstanceId"}]}}

    Response parameters

    ParameterTypeDescriptionExample
    object

    Data structure returned by the interface.

    RequestIdstring

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

    F8B6F758-BCD4-597A-8A2C-DA5A552C****
    Dataobject

    Data returned upon successful invocation.

    CheckIdlong

    创建成功返回的检查项 ID。

    100000000001

    Examples

    Sample success responses

    JSONformat

    {
      "RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****",
      "Data": {
        "CheckId": 100000000001
      }
    }

    Error codes

    HTTP status codeError codeError messageDescription
    400ParamIllegal.%sThe parameter %s is invalid, please fill it in again.Invalid parameter, please fill in again
    400CspmParamOverSizeThe parameter is too long.The parameter is too long, please fill in again.
    400NoPurchaseThe user did not purchase this product.User has not purchased this product
    400CspmCreateCheckCustomItemExceedLimitThe number of custom check items created exceeds the limit.The number of custom check items created exceeds the limit.
    400CspmCheckCustomItemSectionsErrorThe chapter associated with the custom check item does not exist.The chapter associated with the custom check item does not exist.
    400CspmVerifyItemRuleError.%sAudit check item check rule error: %s.The format of the check item rule does not pass. For details, see the return error code.
    400CspmCreateCheckCustomItemErrorFailed to create custom check item.Failed to create custom check item.

    For a list of error codes, visit the Service error codes.

    Change history

    Change timeSummary of changesOperation
    2025-11-13Add OperationView Change Details