All Products
Search
Document Center

Security Center:PostEventDisposeAndWhiteruleList

Last Updated:Jan 10, 2025

Submits event handling information.

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

Request parameters

ParameterTypeRequiredDescriptionExample
IncidentUuidstringNo

The UUID of the event.

85ea4241-798f-4684-a876-65d4f0c3****
StatusintegerNo

The status of the event. Valid values:

  • 0: unhandled
  • 1: handing
  • 5: handling failed
  • 10: handled
0
RemarkstringNo

The remarks of the event.

dealed
EventDisposestringNo

The configuration of event handling. The value is a JSON object.

[ { "playbookName": "WafBlockIP", "entityId": "104466118", "scope": [ "176618589410****" ], "startTime": 1604168946281, "endTime": 1614168946281 }, { "playbookName": "WafBlockIP", "entityId": "104466118", "scope": [ { "instanceId": "waf-cn-n6w1oy1****", "domains": [ "lmfip.wafqax.***" ] } ], "startTime": 1604168946281, "endTime": 1614168946281 } ]
ReceiverInfostringNo

The configuration of the alert recipient. The value is a JSON object.

{ "messageTitle": "test", "receiver": "xiaowang", "channel": "message" }
RoleTypeintegerNo

The type of the view. Valid values:

  • 0: the current Alibaba Cloud account
  • 1: the global account
1
RoleForlongNo

The ID of the account that you switch from the management account.

113091674488****
RegionIdstringNo

The region in which the data management center of the threat analysis feature resides. Specify this parameter based on the regions in which your assets reside. Valid values:

  • cn-hangzhou: Your assets reside in regions in China.
  • ap-southeast-1: Your assets reside in regions outside China.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

BaseResponse

Datastring

The data returned.

123456
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Codeinteger

The HTTP status code.

200
Messagestring

The returned message.

success
RequestIdstring

The request ID.

9AAA9ED9-78F4-5021-86DC-D51C7511****

Examples

Sample success responses

JSONformat

{
  "Data": "123456",
  "Success": true,
  "Code": 200,
  "Message": "success",
  "RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****"
}

Error codes

HTTP status codeError codeError message
500InternalErrorThe request processing has failed due to some unknown error.

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

Change history

Change timeSummary of changesOperation
2024-04-17The Error code has changed. The request parameters of the API has changedView Change Details