擷取核心檔案監控事件的資訊詳情。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:GetFileProtectEvent |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Id |
integer |
否 |
事件 ID。 |
12 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。 |
0B48AB3C-84FC-424D-A01D-B9270EF46038 |
| Data |
object |
返回資料詳情。 |
|
| Uuid |
string |
資產執行個體的 UUID。 |
49f1360f-62c8-4b48-a24c-5cc317656419 |
| 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。 |
55037 |
| AlertLevel |
integer |
警示通知層級。取值如下:
|
1 |
| InstanceName |
string |
執行個體名稱。 |
i-wz92q7m5hsbgfhdss*** |
| InternetIp |
string |
關聯執行個體的公網 IP。 |
172.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 |
啟動當前進程的使用者識別碼。 |
1001 |
| UserName |
string |
啟動當前進程的使用者名稱。 |
test |
樣本
正常返回樣本
JSON格式
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
"Data": {
"Uuid": "49f1360f-62c8-4b48-a24c-5cc317656419",
"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": 55037,
"AlertLevel": 1,
"InstanceName": "i-wz92q7m5hsbgfhdss***",
"InternetIp": "172.16.XX.XX",
"IntranetIp": "10.42.XX.XX",
"HandleTime": 1694576692000,
"Remark": "[\"test\"]",
"ProcessId": "3453",
"Platform": "linux",
"UserId": "1001",
"UserName": "test"
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 500 | ServerError | ServerError | 服務故障,請稍後重試! |
| 403 | NoPermission | caller has no permission | 當前操作未被授權,請聯絡主帳號在RAM控制台進行授權後再執行操作。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。