获取告警事件的详细信息。告警事件分为告警与异常两个维度,一个告警事件包含多个异常事件。
调试
您可以在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 |
AlarmUniqueInfo | string | 是 | 告警事件的唯一标识。 说明
查询警事件的详细信息,需要提供告警事件的唯一标识信息,该标识信息可调用 DescribeSuspEvents 接口获取。
| 9f62555666f177aa84ee1eaf465a**** |
From | string | 是 | 请求来源标识,固定为 sas。 | sas |
返回参数
示例
正常返回示例
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": "<p>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 time<a href=\"https://yundun.console.aliyun.com/?p=pam\">PAM</a>, hosting host login password, improving remote connection efficiency and security control ability, and according to<a href=\"https://click.aliyun.com/m/1000226086/\">best practice of ECS account security protection</a>Modify login password and convergence asset.</p>↵",
"Name": "sshd"
}
]
}
]
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
403 | NoPermission | caller has no permission | 当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。 |
500 | ServerError | ServerError | 服务故障,请稍后重试! |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史