All Products
Search
Document Center

Security Center:DescribeAttackTimeLine

Last Updated:Nov 14, 2024

Queries the timeline of the alerts that are associated with an event.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribeAttackTimeLineget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
IncidentUuidstringNo

The ID of the event.

85ea4241-798f-4684-a876-65d4f0c3****
AssetNamestringNo

The name of the asset.

zsw-agentless-centos****
StartTimelongNo

The beginning of the time range to query. Unit: milliseconds.

1577803000000
EndTimelongNo

The end of the time range to query. Unit: milliseconds.

1577808000000
RoleTypeintegerNo

The type of the view. Valid values:

  • 0: the current Alibaba Cloud account
  • 1: the global account
1
RoleForlongNo

The ID of the account that you switch from the management account.

113091674488****
RegionIdstringNo

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: Your assets reside in regions in China.
  • ap-southeast-1: Your assets reside in regions outside China.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

BaseResponse<Map<String, CloudSiemAttackTimeline>>

Dataarray<object>

The data returned.

123456
Dataobject
AssetNamestring

The name of the asset.

zsw-agentless-centos****
AlertTimelong

The time when the alert was triggered.

2021-01-06 16:37:29
AssetIdstring

The logical ID of the asset.

0616caeb-acb8-45e0-8520-4ee5fbe251f0
IncidentUuidstring

The UUID of the event.

85ea4241-798f-4684-a876-65d4f0c3****
AlertUuidstring

The UUID of the alert

sas_71e24437d2797ce8fc59692905a4****
LogTimestring

The time when the alert was recorded.

2021-01-06 16:37:29
AlertSrcProdstring

The source of the alert.

sas
AlertTitlestring

The title of the alert.

Scan-Try SNMP weak password
AlertLevelstring

The risk level. Valid values:

  • serious: high
  • suspicious: medium
  • remind: low
remind
AssetListstring

The details of the asset.

[ { "is_main_asset": "1", "asset_name": "47.245.*", "port": "22", "ip": "47.245.*", "asset_type": "ip", "location": "ap-southeast-1", "asset_id": "47.245.*", "net_connect_dir": "in" } ]
AlertSrcProdModulestring

The sub-module of the alert source.

waf
AttCkstring

The tag of the ATT&CK attack.

T1595.002 Vulnerability Scanning
CloudCodestring

The cloud code. Valid values:

  • aliyun: Alibaba Cloud
  • qcloud: Tencent Cloud
  • hcloud: Huawei Cloud
aliyun
AlertTitleEnstring

The alert title in English.

Scan-Try SNMP weak password
AlertTypestring

The type of the alert.

Scan
AlertTypeEnstring

The alert type in English.

Scan
AlertTypeCodestring

The internal code of the alert type.

security_event_config.event_name.webshellName
AlertNamestring

The alert name in English.

Try SNMP weak password
AlertNameEnstring

The alert name in English.

Try SNMP weak password
AlertNameCodestring

The internal code of the alert name.

security_event_config.event_name.webshell
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Codeinteger

The HTTP status code.

200
Messagestring

The returned message.

success
RequestIdstring

The request ID.

9AAA9ED9-78F4-5021-86DC-D51C7511****

Examples

Sample success responses

JSONformat

{
  "Data": [
    {
      "AssetName": "zsw-agentless-centos****",
      "AlertTime": 0,
      "AssetId": "0616caeb-acb8-45e0-8520-4ee5fbe251f0",
      "IncidentUuid": "85ea4241-798f-4684-a876-65d4f0c3****",
      "AlertUuid": "sas_71e24437d2797ce8fc59692905a4****",
      "LogTime": "2021-01-06 16:37:29",
      "AlertSrcProd": "sas",
      "AlertTitle": "Scan-Try SNMP weak password",
      "AlertLevel": "remind",
      "AssetList": "[\n      {\n            \"is_main_asset\": \"1\",\n            \"asset_name\": \"47.245.*\",\n            \"port\": \"22\",\n            \"ip\": \"47.245.*\",\n            \"asset_type\": \"ip\",\n            \"location\": \"ap-southeast-1\",\n            \"asset_id\": \"47.245.*\",\n            \"net_connect_dir\": \"in\"\n      }\n]",
      "AlertSrcProdModule": "waf",
      "AttCk": "T1595.002 Vulnerability Scanning",
      "CloudCode": "aliyun",
      "AlertTitleEn": "Scan-Try SNMP weak password",
      "AlertType": "Scan",
      "AlertTypeEn": "Scan",
      "AlertTypeCode": "security_event_config.event_name.webshellName",
      "AlertName": "Try SNMP weak password",
      "AlertNameEn": "Try SNMP weak password",
      "AlertNameCode": "security_event_config.event_name.webshell"
    }
  ],
  "Success": true,
  "Code": 200,
  "Message": "success",
  "RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****"
}

Error codes

HTTP status codeError codeError message
500InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-04-17The Error code has changed. The request parameters of the API has changedView Change Details