Exports anomaly alert information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ExportSuspEvents |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. You do not need to specify this parameter. The system automatically obtains this value. |
127.0.XX.XX |
| Dealed |
string |
No |
Specifies whether the alert event is handled. Valid values:
|
Y |
| TimeStart |
string |
No |
The start time of the anomaly event occurrence. Format: YYYY-MM-DD HH:mm:ss. |
2022-10-01 00:00:00 |
| TimeEnd |
string |
No |
The end time of the anomaly event. Format: YYYY-MM-DD HH:mm:ss. |
2022-12-05 00:00:00 |
| Name |
string |
No |
The full name of the anomaly event. |
WEBSHELL |
| Levels |
string |
No |
The severity levels of the alert events to query. Separate multiple severity levels with commas (,). The severity levels are listed in descending order. Valid values:
|
serious,suspicious,remind |
| ParentEventTypes |
string |
No |
The alert type of the alert events to query. Valid values:
|
WEBSHELL |
| Remark |
string |
No |
The remarks. |
remark |
| Status |
string |
No |
The handling status of the anomaly event. Valid values:
|
0 |
| Lang |
string |
No |
The language type for the request and response messages. Default value: zh. Valid values:
|
zh |
| From |
string |
No |
The data source identifier of the anomaly event. Set the value to sas. |
sas |
| ClusterId |
string |
No |
The ID of the cluster to query. Note
You can call the DescribeGroupedContainerInstances operation to obtain this parameter. |
c4af4fdf38a98496a9b63c2be5dae**** |
| ContainerFieldName |
string |
No |
The container search field. Valid values:
|
clusterId |
| ContainerFieldValue |
string |
No |
The value of the container search field. |
c819391d2d520485fa3e81e2dc2ea**** |
| TargetType |
string |
No |
The dimension of the target switch configuration. Valid values:
|
uuid |
| PageSize |
string |
No |
The maximum number of entries per page in a paged query. Default value: 20. |
20 |
| CurrentPage |
string |
No |
The page number of the current page in a paged query. |
1 |
| AssetsTypeList |
array |
No |
The collection of asset types. |
|
|
string |
No |
The collection of asset types. |
ECS |
|
| Uuid |
string |
No |
The unique identifier of the associated instance. |
18b7336e-d469-473b-af83-8e5420f9**** |
| UniqueInfo |
string |
No |
The unique key of the security alert. |
1fbe8d16727f61d1478a674d6fa0**** |
| Id |
integer |
No |
The unique ID of the alert event record. |
17821 |
| OperateErrorCodeList |
array |
No |
The collection of alert event handling result codes. |
|
|
string |
No |
The alert event handling result code. Format: operation type.operation result code. The following operation types are supported:
Operation result codes:
|
ignore. Success |
|
| GroupId |
integer |
No |
The ID of the asset group. |
9454789 |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the member accounts in the resource folder. Note
You can invoke the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
EF145C20-6A19-529A-8BDD-0671DXXXXXX |
| FileName |
string |
The name of the exported file. |
suspicious_event_20221209 |
| Id |
integer |
The export record ID of the anomaly event. |
1 |
Examples
Success response
JSON format
{
"RequestId": "EF145C20-6A19-529A-8BDD-0671DXXXXXX",
"FileName": "suspicious_event_20221209",
"Id": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | |
| 400 | FreeVersionNotPermit | Free version is not permitted. | The free version cannot be used. |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.