擷取檔案防護事件
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Id |
integer |
否 |
記錄警示事件的唯一標識 ID。 |
131231 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
1383B0DB-D5D6-4B0C-9E6B-75939C8**** |
| Data |
object |
資料詳情。 |
|
| Uuid |
string |
資產執行個體的 UUID。 |
6690a46c-0edb-4663-a641-3629d1a9**** |
| RuleName |
string |
規則名稱。 |
test-000 |
| FirstTime |
integer |
首次發生時間戳記。 |
1694576692000 |
| LatestTime |
integer |
事件最近一次發生時間。 |
1694576692000 |
| Status |
integer |
事件狀態。取值如下:
|
1 |
| ProcPath |
string |
進程路徑。 |
/bin/bash33 |
| FilePath |
string |
檔案路徑。 |
/usr/local |
| CmdLine |
string |
事件命令列。 |
["touch","/usr/local/aaaa"] |
| FilePermission |
string |
進程許可權。 |
rwxr-xr-x |
| Operation |
string |
進程對檔案進行的操作。 |
DELETE |
| Id |
integer |
事件 ID。 |
3454 |
| AlertLevel |
integer |
警示通知層級。取值如下:
|
0 |
| InstanceName |
string |
執行個體名稱。 |
i-wz92q7m5hsbgfhdss*** |
| InternetIp |
string |
關聯執行個體的公網 IP。 |
17.16.XX.XX |
| IntranetIp |
string |
關聯執行個體的私網 IP。 |
10.42.XX.XX |
| HandleTime |
integer |
事件處理時間。 |
1694576692000 |
| Remark |
string |
備忘資訊。 |
test |
| ProcessId |
string |
事件進程 ID。 |
3453 |
| Platform |
string |
作業系統類型。 |
linux |
| UserId |
string |
事件的 UserId。 |
12 |
| UserName |
string |
事件的使用者名稱稱。 |
root |
| RuleAction |
string |
攔截規則的動作。 |
block |
| Count |
integer |
警示出現的次數。 |
2 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "1383B0DB-D5D6-4B0C-9E6B-75939C8****",
"Data": {
"Uuid": "6690a46c-0edb-4663-a641-3629d1a9****",
"RuleName": "test-000",
"FirstTime": 1694576692000,
"LatestTime": 1694576692000,
"Status": 1,
"ProcPath": "/bin/bash33",
"FilePath": "/usr/local",
"CmdLine": "[\"touch\",\"/usr/local/aaaa\"]",
"FilePermission": "rwxr-xr-x",
"Operation": "DELETE",
"Id": 3454,
"AlertLevel": 0,
"InstanceName": "i-wz92q7m5hsbgfhdss***",
"InternetIp": "17.16.XX.XX",
"IntranetIp": "10.42.XX.XX",
"HandleTime": 1694576692000,
"Remark": "test",
"ProcessId": "3453",
"Platform": "linux",
"UserId": "12",
"UserName": "root",
"RuleAction": "block",
"Count": 2
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | IllegalParameter | Illegal parameter, please check the param. | 參數錯誤,請檢查輸入參數。 |
| 500 | ServerError | ServerError | 服務故障,請稍後重試! |
| 403 | NoPermission | caller has no permission | 當前操作未被授權,請聯絡主帳號在RAM控制台進行授權後再執行操作。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。