使用 Microsoft Sentinel recommendations API,以程式設計方式與 SOC 最佳化建議互動,協助您縮小針對特定威脅的涵蓋缺口,並收緊資料擷取速率。 您可以取得工作區中所有目前建議的詳細資訊,或是特定的 SOC 最佳化建議,或者如果您對環境做出變更,也可以重新評估該建議。
例如,使用 recommendations API 來:
- 建立自訂報告和儀表板。 例如,請參見 「視覺化自訂 SOC 優化資料」。
- 整合第三方工具,例如 SOAR 和 ITSM 服務
- 獲得自動化且即時的 SOC 優化資料存取,觸發評估並迅速回應建議
對於管理多個環境的客戶或 MSSP,recommendations API 提供了在多個工作區中處理建議的可擴展方式。 你也可以從 API 匯出資料並儲存到外部,以便稽核、歸檔或追蹤趨勢。
重要事項
自 2027 年 3 月 31 日起,Microsoft Sentinel 將不再支援 Azure 入口網站,僅能在 Microsoft Defender 入口網站中使用。 所有在 Azure 入口網站使用 Microsoft Sentinel 的客戶,將被重新導向至 Defender 入口網站,且僅在 Defender 入口網站使用 Microsoft Sentinel。 自 2025 年 7 月起,許多新客戶會自動被引導 至 Defender 入口網站。
如果您仍在 Azure 入口網站使用 Microsoft Sentinel,建議您開始規劃轉換至 Defender 入口網站,以確保順利過渡並充分利用 Microsoft Defender 所提供的統一安全運營體驗。 欲了解更多資訊,請參閱「是時候行動了:退休 Microsoft Sentinel 的 Azure 入口網站以提升安全性。」
API recommendations 目前處於 PREVIEW 階段,使用版本為 2024-01-01-preview 或更新版本。 請參閱 Microsoft Azure 預覽版補充使用條款,以了解適用於 beta、預覽或尚未正式釋出的 Azure 功能的其他法律條款。
獲取、更新或重新評估推薦
API 也會回傳 降低 Defender 資料成本建議。 它們 recommendationTypeId 的值為 Precision_XdrIngestion_TableMigration。
請使用下列 recommendations API 的範例,以程式設計方式與 SOC 最佳化建議互動:
取得您工作區中所有目前 SOC 最佳化建議的清單:
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations?api-version=2024-01-01-preview依推薦編號取得特定推薦:
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId}要找到推薦的 ID 值,請先取得工作區中所有推薦的清單。
將建議狀態更新為「作用中」、「進行中」、「已完成」、「已忽略」或「重新啟用」:
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId}手動觸發針對特定建議的評估:
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId} /triggerEvaluation
視覺化自訂 SOC 優化資料
Microsoft Sentinel 優化工作手冊利用 recommendations API 來視覺化 SOC 優化資料。 在你的工作區安裝並自訂工作簿,建立屬於你自己的 SOC 優化儀表板。
在 Microsoft Sentinel 優化工作簿中,選擇 SOC 優化標籤,並在細節中展開項目深入查看 SOC 優化資料。 編輯工作簿,根據組織需要修改顯示的資料。
例如:
如需詳細資訊,請參閱:
相關內容
如需詳細資訊,請參閱: