All Products
Search
Document Center

Security Center:UpdateCheckItem

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

Request parameters

ParameterTypeRequiredDescriptionExample
SectionIdsarrayNo

Array of section IDs associated with the check item.

longNo

Section ID associated with the check item.

Note You can call the ListCheckPolicies API to get this parameter.
1000000000001
VendorstringNo

Cloud asset vendor.

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

Asset type of the cloud product.

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

Sub-asset type of the cloud product.

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

Name of the custom check item.

testCheckItemName
RiskLevelstringNo

Risk level of the check item. Values:

  • HIGH: High risk
  • MEDIUM: Medium risk
  • LOW: Low risk
high
StatusstringNo

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.
  • RELEASE
    RemarkstringNo

    Remark information

    remark.
    DescriptionobjectNo

    Description of the check item.

    TypestringNo

    Type of the check item description. Values:

    • text: Text
    text
    ValuestringNo

    Description of the check item.

    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.

    custom solution.
    CheckRulestringNo

    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"}]}}
    CheckIdlongYes

    ID of the custom check item to be updated.

    Note You can call the ListCheckItems API to get this parameter.
    10000000001

    Response parameters

    ParameterTypeDescriptionExample
    object

    Data body returned by the interface.

    RequestIdstring

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

    CE500770-42D3-442E-9DDD-156E0F9F****
    Dataobject

    Return data.

    CheckIdlong

    ID of the updated check item.

    10000000001

    Examples

    Sample success responses

    JSONformat

    {
      "RequestId": "CE500770-42D3-442E-9DDD-156E0F9F****",
      "Data": {
        "CheckId": 10000000001
      }
    }

    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
    400CspmCheckCustomItemSectionsErrorThe chapter associated with the custom check item does not exist.The chapter associated with the custom check item does not exist.
    400CspmUpdateCheckCustomItemStatusErrorUpdate custom check item status exception.Update custom check item status exception, edit status is allowed to change.
    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.
    400CspmUpdateCheckCustomItemErrorFailed to update custom check.Failed to update custom check, please try again

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

    Change history

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