Skip to main content

DescribeSuspEvents

Description

call DescribeSuspEvents interface to query abnormal event information. Alarm events are divided into two dimensions: alarm and exception. An alarm event contains multiple exception events.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeSuspEvents

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
ParentEventTypesBODYstringNowebsite backdoorthe alarm type to which the exception event belongs.
PageSizeBODYstringNo20The maximum number of pieces of data displayed per page when querying by pages. The default value is 20.
LangBODYstringNozhthe language type of the request and receive message. Valid values include: zh: Chinese en: English
FromBODYstringYessasthe identification of the data source to which the exception event belongs, fixed as sas.
DealedBODYstringNoNabnormal event status. Valid values include: N: Pending Y: processed
versionBODYstringNo2016-01-01version of api
NameBODYstringNoecs-xxxexception event name or host name, fuzzy match.
RemarkBODYstringNotest machinehost IP or name.
SourceIpBODYstringNo1.2.3.4access the IP address of the source.
CurrentPageBODYstringNo1the page number of the current page displayed when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
AlarmUniqueInfoBODYstringNo8df914418f4211fbf***the unique ID of the alarm event to which the exception event belongs. description if you query the abnormal event information of a single alarm event, you need to provide a unique identification ID of the alarm event, which can be obtained by using the DescribeAlarmEventList interface.
LevelsBODYstringNoseriousthe risk level of abnormal events, multiple risk levels are separated by English commas. The following hazard levels decrease in severity. serious: emergency suspicious: Suspicious mind: reminder

Return data

NameTypeSample valueDescription
PageSizeinteger20the maximum number of pieces of data displayed per page during paging query.
AlarmEventNamestringLinux scheduled task execution exception instructionalarm event name.
EventStatusinteger1the state of the exception event. Valid values include: 1:PENDING (to be processed) 2:IGNORE (ignored) 4:HANDLED (confirmed) 8:FAULT (marked false positive) 16:DEALING (in process) 32:DONE (processed) 64:EXPIRE (expired)
Countinteger1the number of data pieces displayed on the current page during paging query.
IntranetIpstring1.2.3.5the private IP of the associated instance.
EventSubTypestringXorDDoS Trojanexception event name.
Namestringmalicious process (cloud kill)-XorDDoS trojanthe full name of the exception event.
Descstringwebshelldescription of the impact of abnormal events.
InternetIpstring1.2.3.1the public network IP of the associated instance.
AlarmEventTypestringprocess exception behavioralarm event type.
UniqueInfostringe17e***unique identification ID of the exception event.
RequestIdstring43F670F3-AB40-4E91-BC7D-C57400000000ID of this request.
SaleVersionstring1product sales version supported by abnormal event detection. Valid values include: 0: basic version 1: enterprise version
DataSourcestringaegis_suspicious_***data source (negligible).
OccurrenceTimestring2018-09-26 01:51:01the time when the abnormal event first occurred.
InstanceNamestringnginxthe name of the associated instance.
TotalCountinteger100the total number of abnormal events.
OperateMsgstringsuccessremarks on abnormal event operations.
CanBeDealOnLinebooleantruewhether online handling of exception events, such as isolation, is supported. Valid values include: true: online processing is supported false: online processing is not supported
Uuidstringbf6b30d3-eea8-4924-9f0a-***the unique identifier of the associated instance.
CurrentPageinteger1page number of the current page when paging query.
AlarmUniqueInfostring8df914418f***unique ID of alarm event.
Levelstringseriousthe risk level of abnormal events. Valid values include: serious: emergency suspicious: Suspicious mind: reminder
Idlong1000unique identification ID for recording abnormal events.
SuspEventsarrayNo sample value for this parameter.abnormal event information.
LastTimestring2018-09-26 01:51:01the latest occurrence time of the abnormal event.

Example

Successful Response example

{
"PageSize":"20",
"AlarmEventName":"Linux scheduled task execution exception instruction",
"EventStatus":"1",
"Count":"1",
"IntranetIp":"1.2.3.5",
"EventSubType":"XorDDoS Trojan",
"Name":"malicious process (cloud kill)-XorDDoS trojan",
"Desc":"webshell",
"InternetIp":"1.2.3.1",
"AlarmEventType":"process exception behavior",
"UniqueInfo":"e17e***",
"RequestId":"43F670F3-AB40-4E91-BC7D-C57400000000",
"SaleVersion":"1",
"DataSource":"aegis_suspicious_***",
"OccurrenceTime":"2018-09-26 01:51:01",
"InstanceName":"nginx",
"TotalCount":"100",
"OperateMsg":"success",
"CanBeDealOnLine":"true",
"Uuid":"bf6b30d3-eea8-4924-9f0a-***",
"CurrentPage":"1",
"AlarmUniqueInfo":"8df914418f***",
"Level":"serious",
"Id":"1000",
"SuspEvents":"",
"LastTime":"2018-09-26 01:51:01"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}