Queries events in SIEM.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-sas:DescribeCloudSiemEvents | list |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StartTime | long | No | The beginning of the time range to query. Unit: milliseconds. | 1577808000000 |
EndTime | long | No | The end of the time range to query. Unit: milliseconds. | 1577808000000 |
ThreadLevel | array | No | The risk levels of the events. The value is a JSON array. Valid values:
| |
ThreadLevel | string | No | The risk level of the event. The value is a JSON string. Valid values:
| ["remind","serious"] |
EventName | string | No | The name of the event. | ECS unusual log in |
IncidentUuid | string | No | The ID of the event. | 85ea4241-798f-4684-a876-65d4f0c3**** |
AssetId | string | No | The ID of the asset that is associated with the event. | 6c740667-80b2-476d-8924-2e706feb**** |
Status | integer | No | The status of the event. Valid values:
| 0 |
OrderField | string | No | The sort field. Valid values:
| ThreatScore |
Order | string | No | The sort order. Valid values:
| desc |
CurrentPage | integer | Yes | The page number. Pages start from page 1. | 1 |
PageSize | integer | Yes | The number of entries per page. Maximum value: 100. | 10 |
RoleType | integer | No | The type of the view. Valid values:
| 1 |
RoleFor | long | No | The ID of the account that you switch from the management account. | 113091674488**** |
RegionId | string | No | The region in which the data management center of the threat analysis feature resides. Specify this parameter based on the regions in which your assets reside. Valid values:
| cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"Code": 200,
"Message": "success",
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****",
"Data": {
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 100
},
"ResponseData": [
{
"GmtCreate": "2021-01-06 16:37:29",
"GmtModified": "2021-01-06 16:37:29",
"Aliuid": 0,
"AlertNum": 4,
"AssetNum": 4,
"IncidentUuid": "85ea4241-798f-4684-a876-65d4f0c3****",
"IncidentName": "Multiple type of alerts, including Miner Network, Command line download and run malicious files, Backdoor Process, etc",
"IncidentNameEn": "Multiple type of alerts, including Miner Network, Command line download and run malicious files, Backdoor Process, etc",
"Description": "The threat event contains 13 Miner Network,1 Execute suspicious encoded commands on Linux, etc",
"DescriptionEn": "The threat event contains 13 Miner Network,1 Execute suspicious encoded commands on Linux, etc",
"DataSources": [
"[sas,waf]"
],
"ThreatLevel": "remind",
"ThreatScore": 90.2,
"ExtContent": "{\"event_transfer_type\":\"customize_rule\"}",
"Status": 0,
"AttCkLabels": [
"[\"T1595.002 Vulnerability Scanning\"]"
],
"ReferAccount": "127608589417****",
"Remark": "dealed"
}
]
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
500 | InternalError | The request processing has failed due to some unknown error. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-11-04 | The Error code has changed. The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2024-04-17 | The Error code has changed. The request parameters of the API has changed. The response structure of the API has changed | View Change Details |