Creates a node to query alerting events triggered by the same rule or Alarm Metric.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateSimilarSecurityEventsQueryTask |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
1.2.XX.XX |
| SecurityEventId |
integer |
Yes |
The ID of the alert event. |
14323 |
| SimilarEventScenarioCode |
string |
No |
The code of the alerting event that has the same type or rule hits. |
default |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Different requests should use different tokens. The token supports only ASCII characters and cannot exceed 64 characters in length. |
|
| ResourceDirectoryAccountId |
integer |
No |
||
|
No |
Specifies whether to perform only a dry run of the request. Valid values:
Default value: false. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CreateSimilarSecurityEventsQueryTaskResponse |
object |
The response for creating a task to query similar alert events. |
|
| Status |
string |
The task status. Valid values:
|
New |
| TaskId |
integer |
The ID of the task. |
2915 |
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
5861EE3E-F0B3-48B8-A5DC-A5080BFBE052 |
Examples
Success response
JSON format
{
"CreateSimilarSecurityEventsQueryTaskResponse": {
"Status": "New",
"TaskId": 2915
},
"RequestId": "5861EE3E-F0B3-48B8-A5DC-A5080BFBE052"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SecurityEventNotExists | Security event not exists. | |
| 400 | NoPermission | no permission | |
| 400 | IllegalParam | Illegal param | |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 400 | IdempotentParameterMismatch | 相同的 ClientToken 被用于不同的请求参数。 | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 409 | IdempotentRequestInProgress | 使用相同 ClientToken 的请求正在处理中。 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.