You can call this operation to query the scenarios where alerts triggered by the same rule or rules of the same type are managed.

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.3.4

The source IP address of the request.

SecurityEventId Long No 12321

The ID of the alert.

Response parameters

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

The ID of the request.

Scenarios Array

The list of scenarios where alerts triggered by the same rule or rules of the same type are managed.

Code String same_url

The code of the scenario. 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
&<Common request parameters>

Sample success response

XML format

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

JSON format

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

Error codes

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