DescribeAlarmEventDetail - 获取告警事件详细信息

Updated at:

获取告警事件的详细信息。告警事件分为告警与异常两个维度,一个告警事件包含多个异常事件。

调试

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

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

yundun-sas:DescribeAlarmEventDetail

get

*全部资源

*

无 无

请求参数

名称

类型

必填

描述

示例值

SourceIp

string

否

访问源 IP 地址。

192.168.XX.XX

Lang

string

否

设置请求和接收消息的语言类型,默认为 zh。取值:

  • zh:中文

  • en:英文

zh

AlarmUniqueInfo

string

是

告警事件的唯一标识。

说明

查询警事件的详细信息,需要提供告警事件的唯一标识信息,该标识信息可调用 DescribeSuspEvents 接口获取。

9f62555666f177aa84ee1eaf465a****

From

string

是

请求来源标识,固定为 sas。

sas

ResourceDirectoryAccountId

integer

否

资源目录成员账号主账号 ID。

说明

调用 DescribeMonitorAccounts 接口可以获取该参数。

返回参数

名称

类型

描述

示例值

object

RequestId

string

本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。

7EA50837-2F0B-5BCC-AB61-4968D88D75AD

Data

object

告警事件的详情。

Type

string

告警类型。取值:

  • 进程异常行为

  • 网站后门

  • 异常登录

  • 异常事件

  • 敏感文件篡改

  • 恶意进程(云查杀)

  • 异常网络连接

  • 其他

  • 异常账号

  • 应用入侵事件

  • 云产品威胁检测

  • 精准防御

  • 应用白名单

  • 持久化后门

  • Web 应用威胁检测

  • 恶意脚本

  • 威胁情报

  • 恶意网络行为

  • 容器集群异常

  • 网站后门(本地查杀)

  • 漏洞利用

  • 恶意进程(本地查杀)

  • 可信异常

Webshell

InternetIp

string

关联实例的公网 IP。

172.16.XX.XX

K8sClusterName

string

k8s 集群名称。

TestK8sCluser

ContainerImageId

string

容器镜像 ID。

cadb7a725641

AlarmEventDesc

string

告警事件描述。

The detection model finds that self-mutation is running on your server. A self-mutation Trojan is a Trojan horse program with self-mutation function. It will change its hash or copy a large number of itself to different paths, and run in the background to avoid cleaning.

AlarmUniqueInfo

string

告警事件的唯一标识。

说明

查询警事件的详细信息,需要提供告警事件的唯一标识信息,该标识信息可调用 DescribeSuspEvents 接口获取。

9f62555666f177aa84ee1eaf465a****

CanCancelFault

boolean

能否取消告警。取值:

  • true:可以取消标记为误报。

  • false:不能取消标记为误报。

false

AppName

string

容器应用名称。

app:msdp-uat-service

CanBeDealOnLine

boolean

能否在线处理。取值:

  • true:可以取消标记为误报。

  • false:不能取消标记为误报。

false

ContainerImageName

string

容器镜像名称。

jenkins/jenkins:latest

K8sClusterId

string

K8s 集群 ID。

c562cf0d68e9749ee9fe544a7ab2f****

ContainHwMode

boolean

是否是重大活动安全保障模式。

true

InstanceName

string

实例名称。

i-wz92q7m5hsbgfhdss***

K8sNodeId

string

k8s 节点 ID。

i-bp14a1ay8e0aa9t0l***

Solution

string

告警事件的处理方法。

An invalid logon source IP has been detected. If you recognize this logon attempt, we recommend that you add the current logon source IP to the valid logon source IP list to avoid future alerts. If you do not recognize this logon attempt, we recommend that you modify the password.

DataSource

string

告警事件的数据来源。

aegis_***

IntranetIp

string

关联实例的私网 IP。

172.25.30.**

AlarmEventAliasName

string

告警事件名称。

Login with unusual location

EndTime

integer

告警事件结束的时间戳,单位为毫秒。

1542366542000

Uuid

string

资产实例的 UUID。

6690a46c-0edb-4663-a641-3629d1a9****

StartTime

integer

告警事件的开始的时间戳,单位为毫秒。

1542378601000

ContainerId

string

容器应用 ID。

container_1606995441910_394868_01_000***

K8sPodName

string

k8sPod 名称。

myapp-pod

K8sNamespace

string

K8s 命名空间。

sit-saic-trip

K8sNodeName

string

k8s 节点名称。

cn-hangzhou.10.188.139.**

Level

string

告警事件的危险等级。取值:

  • serious:紧急。

  • suspicious:可疑。

  • remind:提醒。

serious

CauseDetails

array<object>

告警事件发生的原因(溯源信息)。

array<object>

Key

string

告警事件溯源的 key。

842e314e69b1a2c45d5c1a2f88a16***

Value

array<object>

告警事件溯源的 value。

object

溯源展示信息。

Type

string

溯源信息字段的展示类型。取值:

  • text:文本方式。

  • html:富文本方式。

html

Value

string

溯源信息字段的值。

under a certain small probability, yundun may mistakenly judge the repeated attempts caused by the administrator forgetting or entering the wrong password as successful blasting. Please check according to the account number and time shown in the alarm details. Once it is confirmed that it is not the initiative of the administrator, it is recommended to immediately block the IP, and you can open it at the same timePAM, hosting host login password, improving remote connection efficiency and security control ability, and according tobest practice of ECS account security protectionModify login password and convergence asset.

↵

Name

string

溯源信息字段的名称。

sshd

示例

正常返回示例

JSON格式

{
  "RequestId": "7EA50837-2F0B-5BCC-AB61-4968D88D75AD",
  "Data": {
    "Type": "Webshell",
    "InternetIp": "172.16.XX.XX",
    "K8sClusterName": "TestK8sCluser",
    "ContainerImageId": "cadb7a725641",
    "AlarmEventDesc": "The detection model finds that self-mutation is running on your server. A self-mutation Trojan is a Trojan horse program with self-mutation function. It will change its hash or copy a large number of itself to different paths, and run in the background to avoid cleaning.",
    "AlarmUniqueInfo": "9f62555666f177aa84ee1eaf465a****",
    "CanCancelFault": false,
    "AppName": "app:msdp-uat-service",
    "CanBeDealOnLine": false,
    "ContainerImageName": "jenkins/jenkins:latest",
    "K8sClusterId": "c562cf0d68e9749ee9fe544a7ab2f****",
    "ContainHwMode": true,
    "InstanceName": "i-wz92q7m5hsbgfhdss***",
    "K8sNodeId": "i-bp14a1ay8e0aa9t0l***",
    "Solution": "An invalid logon source IP has been detected. If you recognize this logon attempt, we recommend that you add the current logon source IP to the valid logon source IP list to avoid future alerts. If you do not recognize this logon attempt, we recommend that you modify the password.",
    "DataSource": "aegis_***",
    "IntranetIp": "172.25.30.**",
    "AlarmEventAliasName": "Login with unusual location",
    "EndTime": 1542366542000,
    "Uuid": "6690a46c-0edb-4663-a641-3629d1a9****",
    "StartTime": 1542378601000,
    "ContainerId": "container_1606995441910_394868_01_000***",
    "K8sPodName": "myapp-pod",
    "K8sNamespace": "sit-saic-trip",
    "K8sNodeName": "cn-hangzhou.10.188.139.**",
    "Level": "serious",
    "CauseDetails": [
      {
        "Key": "842e314e69b1a2c45d5c1a2f88a16***",
        "Value": [
          {
            "Type": "html",
            "Value": "
under a certain small probability, yundun may mistakenly judge the repeated attempts caused by the administrator forgetting or entering the wrong password as successful blasting. Please check according to the account number and time shown in the alarm details. Once it is confirmed that it is not the initiative of the administrator, it is recommended to immediately block the IP, and you can open it at the same timePAM, hosting host login password, improving remote connection efficiency and security control ability, and according tobest practice of ECS account security protectionModify login password and convergence asset.↵",
            "Name": "sshd"
          }
        ]
      }
    ]
  }
}

错误码

HTTP status code

错误码

错误信息

描述

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 当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。

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

变更历史

更多信息,参考变更详情。