CreateSimilarSecurityEventsQueryTask
Description
call the CreateSimilarSecurityEventsQueryTask creation task to query alarm events triggered by the same rule or alarm type.
Request Method
POST
Request Path
/apsara/route/Sas/CreateSimilarSecurityEventsQueryTask
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
SecurityEventId | BODY | long | No | 14323 | ID of the security event. |
SourceIp | BODY | string | No | 1.2.3.4 | access the IP address of the source. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
SimilarEventScenarioCode | BODY | string | No | default | the code value of alarm events of the same type or hit rule. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
Status | string | DataRetrieved | task status. New: add RetrievingData: data extraction DataRetrieved: successful data extraction Processing: task processing Success: The task was successfully executed Failed: task execution failed PartialFailed: task execution partially failed |
TaskId | long | 2915 | task ID. |
RequestId | string | 5861EE3E-F0B3-48B8-A5DC-A5080BFBE052 | request ID of the result. |
CreateSimilarSecurityEventsQueryTaskResponse | struct | No sample value for this parameter. | create and query the return information of similar alarm event tasks. |
Example
Successful Response example
{
"Status":"DataRetrieved",
"TaskId":"2915",
"RequestId":"5861EE3E-F0B3-48B8-A5DC-A5080BFBE052",
"CreateSimilarSecurityEventsQueryTaskResponse":""
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}