Queries the scenarios in which 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.X.X

The source IP address to query.

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.

Scenarios Array of Scenario

The scenarios in which 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 responses

XML format

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

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.