文档

DescribeAttackTimeLine - 获取事件相关的告警时间线数据

更新时间:

获取事件相关的告警时间线数据。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
IncidentUuidstring

事件 ID。

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

资产名称。

zsw-agentless-centos****
StartTimelong

查询的开始时间,精确到毫秒(ms)。

1577803000000
EndTimelong

查询结束时间,精确到毫秒(ms)。

1577808000000
RoleTypeinteger

视图类型。

  • 0:当前阿里云账号视图。
  • 1:企业下所有账号的视图。
1
RoleForlong

管理员切换成其他成员视角的用户 ID。

113091674488****
RegionIdstring

威胁分析的数据管理中心所在地。您需要根据资产所在地域,选择管理中心所在地。取值:

  • cn-hangzhou:资产属于中国内地与中国香港
  • ap-southeast-1:资产属于海外地域
cn-hangzhou

返回参数

名称类型描述示例值
object

BaseResponse<Map<String, CloudSiemAttackTimeline>>

Dataobject []

请求返回值。

123456
AssetNamestring

资产名称。

zsw-agentless-centos****
AlertTimelong

告警发生时间。

2021-01-06 16:37:29
AssetIdstring

资产逻辑 ID。

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

事件 UUID。

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

事件关联告警 UUID。

sas_71e24437d2797ce8fc59692905a4****
LogTimestring

告警记录时间。

2021-01-06 16:37:29
AlertSrcProdstring

事件关联告警来源产品。

sas
AlertTitlestring

告警标题。

Scan-Try SNMP weak password
AlertLevelstring

威胁等级。 取值:

  • serious:高危
  • suspicious:中危
  • remind:低危
remind
AssetListstring

资产列表。

[ { "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

事件关联告警来源产品子模块。

waf
AttCkstring

ATTCT&攻击技术标签。

T1595.002 Vulnerability Scanning
CloudCodestring

云 Code。 取值:

  • aliyun:阿里云
  • qcloud:腾讯云
  • hcloud:华为云
aliyun
AlertTitleEnstring

告警标题英文。

Scan-Try SNMP weak password
AlertTypestring

告警类型。

Scan
AlertTypeEnstring

告警类型英文。

Scan
AlertTypeCodestring

告警类型美杜莎 Code。

security_event_config.event_name.webshellName
AlertNamestring

告警名称。

Try SNMP weak password
AlertNameEnstring

告警名称。

Try SNMP weak password
AlertNameCodestring

告警名称美杜莎 Code。

security_event_config.event_name.webshell
Successboolean

请求是否成功。取值:

  • true:成功
  • false:失败
true
Codeinteger

返回状态码。

200
Messagestring

返回消息。

success
RequestIdstring

请求 ID。

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

示例

正常返回示例

JSON格式

{
  "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****"
}

错误码

HTTP status code错误码错误信息描述
500InternalErrorThe request processing has failed due to some unknown error.服务发生某些未知错误,请稍后再试

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2024-04-17OpenAPI 错误码发生变更、OpenAPI 入参发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    删除错误码:501
    新增错误码:500
入参OpenAPI 入参发生变更
    新增入参:RoleType
    新增入参:RoleFor