Skip to main content

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

NameLocationTypeRequiredSample valueDescription
SecurityEventIdBODYlongNo14323ID of the security event.
SourceIpBODYstringNo1.2.3.4access the IP address of the source.
regionIdBODYstringYesNo sample value for this parameter.region id
SimilarEventScenarioCodeBODYstringNodefaultthe code value of alarm events of the same type or hit rule.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
StatusstringDataRetrievedtask 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
TaskIdlong2915task ID.
RequestIdstring5861EE3E-F0B3-48B8-A5DC-A5080BFBE052request ID of the result.
CreateSimilarSecurityEventsQueryTaskResponsestructNo 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
}

}