Queries the scenarios in which you can handle the alerts triggered by the same rule or rules of the same type.

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 DescribeSimilarEventScenarios

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

SourceIp String No 1.2.XX.XX

The source IP address of the request.

SecurityEventId Long No 12321

The ID of the alert to query.

Response parameters

Parameter Type Example Description
RequestId String FDF7B8D9-8493-4B90-8D13-E0C1FFCE5F97

The ID of the request, which is used to locate and troubleshoot issues.

Scenarios Array of Scenario

The scenarios in which you can handle the alerts triggered by the same rule or rules of the same type.

Code String same_url

The code of the scenario. Valid values: Valid values:

  • default: the same alert type
  • same_file_content: the same file content rule
  • same_ip: the same IP address rule
  • same_url: the same URL rule

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeSimilarEventScenarios
&SourceIp=1.2.XX.XX
&SecurityEventId=12321
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeSimilarEventScenariosResponse>
    <RequestId>FDF7B8D9-8493-4B90-8D13-E0C1FFCE5F97</RequestId>
    <Scenarios>
        <Code>same_url</Code>
    </Scenarios>
</DescribeSimilarEventScenariosResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "FDF7B8D9-8493-4B90-8D13-E0C1FFCE5F97",
  "Scenarios" : [ {
    "Code" : "same_url"
  } ]
}

Error codes

HTTP status code Error code Error message Description
400 SecurityEventNotExists Security event not exists. The error message returned because no security events exist.
500 ServerError ServerError The error message returned because a server error occurred.

For a list of error codes, visit the API Error Center.