Azure / Azure/Connectors-NET-Samples

[Investigation] Wdatp connector 403: what Defender capabilities are accessible?

オープン
#46 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
3
フォーク
3
平均マージ
4日 14時間
マージ済み PR(30日)
3

説明

## Summary

The `wdatp/alerts` endpoint returns 403 Forbidden because the connection's account is missing the Defender `ViewData` permission.

## Repro

`GET https://sdk-connector-samples.azurewebsites.net/api/wdatp/alerts`

## Error

`[wdatp] GET /api/alerts failed with status 403: {"error":{"code":"Forbidden","message":"Missing user permissions. API required permissions: ViewData, user permissions: None."}}`

## Connection

- Namespace: `sdk-test-gateway-prod` (nsUrlId: `bedc0f9f130e4bba93ea8046573db2d0`)
- Connection: `wdatp-test`

## Investigation needed

1. What Defender role/permission grants `ViewData`? (Likely requires Microsoft Defender for Endpoint P1/P2 license and Security Reader role)
2. Are there any Wdatp APIs accessible without elevated Defender permissions (e.g., machine groups, investigation packages)?
3. Can we use the Wdatp connector to demonstrate any read operation with the current connection setup?
4. Should the `wdatp-test` connection be re-created with an account that has Defender Security Reader permissions?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

報告された GET https://sdk-connector-samples.azurewebsites.net/api/wdatp/alerts の失敗と wdatp-test の接続詳細から始め、どの Defender の権限付与で ViewData が付与されるか、また現在のアカウントがどの API にアクセスできるかを調査します。アクセス可能な読み取り操作を文書化するか、Security Reader 権限で接続を再作成する必要があることを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, csharp
領域
api, backend, security
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。