大量解析-警示 APIBulk resolve - Alerts API

適用於:Microsoft Cloud App SecurityApplies to: Microsoft Cloud App Security

重要

Microsoft 的威脅防護產品名稱即將變更。Threat protection product names from Microsoft are changing. 如需有關此變更的詳細資訊與其他更新,請參閱這裡Read more about this and other updates here. 我們將在不久的將來更新產品與文件中的名稱。We'll be updating names in products and in the docs in the near future.

執行 POST 要求,以解決多個符合指定篩選準則的警示。Run the POST request to resolve multiple alerts matching the specified filters.

HTTP 要求HTTP request

POST /api/v1/alerts/resolve/

要求主體參數Request BODY parameters

參數Parameter 描述Description
filtersfilters 使用要求的所有搜尋篩選準則來篩選物件,請參閱 警示篩選器 以取得詳細資料Filter objects with all the search filters for the request, see alert filters for more details
commentcomment 有關如何解決警示的批註A comment about why the alerts are resolved

範例Example

要求Request

以下是要求的範例。Here is an example of the request.

curl -XPOST -H "Authorization:Token <your_token_key>" "https://<tenant_id>.<tenant_region>.contoso.com/api/v1/alerts/resolve" -d '{
  "comment": "Irrelevant",
  "filters": {
    "id": {
      "eq": [
        "55af7415f8a0a7a29eef2e1f",
        "55af741cf8a0a7a29eef2e20"
      ]
    }
  }
}'

若您遇到任何問題,我們隨時提供協助。If you run into any problems, we're here to help. 若要取得產品問題的協助或支援,請建立支援票證To get assistance or support for your product issue, please open a support ticket.