告警詳情
更新時間 2024-12-05 17:31:12
最近更新時間: 2024-12-05 17:31:12
分享文章
接口功能介紹
查詢告警詳情
接口約束
傳參規范
URI
GET /vfw/v2_alarm_detail
路徑參數
無
Query參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| alarmId | 是 | String | 告警id | 119320 |
請求參數
請求頭header參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| urlType | 是 | String | 請求地址類型 | CTAPI | |
| regionId | 是 | String | 資源池id | 100054c0416811e9a6690242ac110002 |
請求體body參數
無
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| statusCode | String | 狀態碼 | ||
| message | String | 返回信息 | 成功 | |
| error | String | 錯誤碼:CFW_0000 :成功!;CFW_0001:參數錯誤!;CFW_0002:業務錯誤! | CFW_0000 | |
| returnObj | Object | 接口返回結果 | AlarmDetailView |
表 AlarmDetailView
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| createTime | String | 創建時間 | 2024-10-24T01:44:12Z | |
| updateTime | String | 修改時間 | 2024-10-24T01:44:12Z | |
| alarmName | String | 告警名稱 | 100.126.9.172_192.168.10.5_POP3_Weak_Password_Login_Attempt(TCP)告警 | |
| attackType | String | 攻擊類型 | InformationDisclosure-WeakPassword | |
| attackIp | String | 攻擊ip | 100.126.9.172 | |
| affectedIp | String | 受影響ip | 192.168.10.5 | |
| attackLevel | String | 攻擊等級 | MIDDLE | |
| triggerCount | Integer | 觸發次數 | 1 | |
| ruleId | Long | 命中規則id | 43049 | |
| ruleName | String | 命中規則名稱 | POP3_Weak_Password_Login_Attempt(TCP) | |
| sourceType | String | 判斷來源 | BASE | |
| attackDirection | String | 方向 | 1 | |
| isHandled | Boolean | 標記處理 | false | |
| alarmStatus | String | 告警狀態 | ALERT | |
| attackApp | String | 攻擊應用 | ftp | |
| firewallId | String | 防火墻id | c7cfe772fd3f482da630132e6548a19a | |
| affectedHostName | String | 受影響主機名 | cfw-client-001 | |
| hostType | String | 資產類型 | 云主機 | |
| vpcId | String | vpcId | vpc-w2yk897lsx | |
| vpcName | String | vpcName | vpc-lwj | |
| affectedVpcId | String | 受攻擊者vpc id | vpc-w2yk897lsx | |
| publicIp | String | 公網ip | 100.126.8.146 | |
| isProtected | Boolean | 防護狀態 | true |
枚舉參數
無
請求示例
請求url
無
請求頭header
{
"regionid": "100054c0416811e9a6690242ac110002",
"urlType": "CTAPI"
}
請求體body
{}
響應示例
{
"statusCode": "200",
"error": "CFW_0000",
"message": "成功!",
"returnObj": {
"createTime": "2024-10-24T01:44:12Z",
"updateTime": "2024-10-24T01:44:12Z",
"alarmName": "100.126.9.172_192.168.10.5_POP3_Weak_Password_Login_Attempt(TCP)告警",
"attackLevel": "MIDDLE",
"alarmStatus": "ALERT",
"attackIp": "100.126.9.172",
"affectedIp": "192.168.10.5",
"triggerCount": 1,
"attackType": "InformationDisclosure-WeakPassword",
"sourceType": "BASE",
"ruleId": 43049,
"ruleName": "POP3_Weak_Password_Login_Attempt(TCP)",
"attackDirection": "1",
"attackApp": "ftp",
"affectedHostName": "cfw-client-001",
"hostType": "云主機",
"vpcId": "vpc-w2yk897lsx",
"vpcName": "vpc-lwj",
"publicIp": "100.126.8.146",
"firewallId": "c7cfe772fd3f482da630132e6548a19a",
"isHandled": false,
"isProtected": true
},
"statusCode": "800"
}
狀態碼
請參考
錯誤碼
請參考