查看您可对告警事件进行处理的操作列表信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| SourceIp | string | 否 | 访问源的 IP 地址。 | 192.168.XX.XX |
| Lang | string | 否 | 设置请求和接收消息的语言类型,默认为 zh。取值:
| zh |
| SecurityEventId | long | 是 | 要处理的安全告警事件的 ID。 | 61352054 |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "B7A2000F-497E-5DA0-B14D-615CD410DD7E",
"SecurityEventOperationsResponse": [
{
"OperationParams": {
"expireTime": 1641566807783
},
"OperationCode": "advance_mark_mis_info",
"UserCanOperate": false,
"MarkField": [
{
"MarkMisType": "contains",
"FiledName": "gmtModified",
"FiledAliasName": "file path",
"MarkMisValue": "2022-04-25 10:11:04",
"Uuid": "3d6b4a75-c28f-447b-9142-38f6252c****",
"SupportedMisType": [
"contains"
]
}
],
"MarkFieldsSource": [
{
"FiledName": "gmtModified",
"FiledAliasName": "file path",
"MarkMisValue": "contains",
"SupportedMisType": [
"contains"
]
}
],
"MappingMarkFields": [
{
"Name": "pid",
"Value": 1791,
"ShowValue": 1791,
"FillType": "CUSTOM",
"Required": true,
"ShowName": "pid",
"MinLength": 1024,
"MaxLength": 2048,
"Description": "test"
}
]
}
]
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|---|---|---|
| 400 | SecurityEventNotExists | Security event not exists. | 安全事件不存在,请检查相关操作权限。 |
| 400 | MissingSecurityEventId | SecurityEventId is mandatory for this action. | 安全告警事件的ID必填。 |
| 403 | NoPermission | caller has no permission | 当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。 |
| 500 | ServerError | ServerError | 服务故障,请稍后重试! |
| 500 | -100 | The service is unavailable, please try again later. | 服务异常,请稍后重试。 |
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 |
|---|---|---|
| 2024-09-11 | OpenAPI 错误码发生变更、OpenAPI 返回结构发生变更 | 查看变更详情 |
