注意事項
此要求不適用於 Microsoft 365 雲端 App 安全性。
執行 GET 或 POST 要求,以擷取符合指定篩選條件的實體清單。
HTTP 要求
GET /api/v1/entities/
POST /api/v1/entities/
要求 BODY 參數
| 參數 | 描述 |
|---|---|
| 篩選器 | 使用要求的所有搜尋篩選器篩選物件,如需詳細資訊,請參閱 實體篩選器 |
| 排序方向 | 排序方向。 可能的值為: asc 和 desc |
| 排序欄位 | 用來排序實體的欄位。 可能的值為: - date:建立實體的日期 - severity:實體的嚴重性 |
| 略過 | 略過指定的記錄數 |
| 限 | 請求傳回的記錄數目上限 |
範例
求
以下是請求的範例。
curl -XPOST -H "Authorization:Token <your_token_key>" -H "Content-Type: application/json" "https://<tenant_id>.<tenant_region>.portal.cloudappsecurity.com/api/v1/entities/" -d '{
"filters": {
// some filters
},
"skip": 5,
"limit": 10
...
}'
回應
以 JSON 格式傳回活動清單。
{
"total": 5 // approximate number of records
"hasNext": true // whether there is more data to show or not.
"data": [
// returned records
]
}
如果您遇到任何問題,我們隨時為您提供協助。 若要取得產品問題的協助或支援,請 開啟支援票證。