Queries the processing status of alerts.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeSecurityEventOperationStatus

The operation that you want to perform. Set the value to DescribeSecurityEventOperationStatus.

RegionId String Yes cn-hangzhou

The ID of the region.

SecurityEventId.N RepeatList Yes 123456

The ID of alert N.

TaskId Long Yes 1234

The ID of the task to handle the alerts.

Response parameters

Parameter Type Example Description
RequestId String D929B6F9-EE5E-4F26-A22F-65D4088B6F24

The ID of the request.

SecurityEventOperationStatuses Array of SecurityEventOperationStatus

Details about the processing status of alerts.

ErrorCode String ignore.Success

The code that indicates the processing result of the alert.

SecurityEventId Long 12321

The ID of the alert.

Status String Success

The processing status of the alert. Valid values:

  • Processing: The alert is being processed.
  • Success: The alert is processed.
  • Failed: The alert failed to be processed.
TaskStatus String Success

The status of the task that handles the alerts. Valid values:

  • Processing: The task is being executed.
  • Success: The task is executed.
  • Failure: The task failed.
  • Pending: The task is waiting to be executed.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DescribeSecurityEventOperationStatus
&RegionId=cn-hangzhou
&SecurityEventId.1=123456
&TaskId=1234
&<Common request parameters>

Sample success responses

XML format

<DescribeSecurityEventOperationStatusResponse>
      <SecurityEventOperationStatuses>
            <Status>Success</Status>
            <SecurityEventId>12321</SecurityEventId>
            <ErrorCode>ignore.Success</ErrorCode>
      </SecurityEventOperationStatuses>
      <RequestId>D929B6F9-EE5E-4F26-A22F-65D4088B6F24</RequestId>
      <TaskStatus>Success</TaskStatus>
</DescribeSecurityEventOperationStatusResponse>

JSON format

{
    "SecurityEventOperationStatuses": [{
        "Status": "Success",
        "SecurityEventId": "12321",
        "ErrorCode": "ignore.Success"
    }],
    "RequestId": "D929B6F9-EE5E-4F26-A22F-65D4088B6F24",
    "TaskStatus": "Success"
}