[Investigation] Wdatp connector 403: what Defender capabilities are accessible?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing GET /api/wdatp/alerts for the wdatp-test connection and reviewing the returned ViewData error. Investigate which Defender permission is required, check whether another Wdatp read operation works with the current connection, and document whether the connection must be recreated; done means the accessible capabilities and required setup are clear.
Written by the indexing model from the issue text.
Description
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
- What Defender role/permission grants
ViewData? (Likely requires Microsoft Defender for Endpoint P1/P2 license and Security Reader role) - Are there any Wdatp APIs accessible without elevated Defender permissions (e.g., machine groups, investigation packages)?
- Can we use the Wdatp connector to demonstrate any read operation with the current connection setup?
- Should the
wdatp-testconnection be re-created with an account that has Defender Security Reader permissions?
- Dominant language
- C#
- Stars
- 3
- Forks
- 3
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/Connectors-NET-Samples
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in Azure/Connectors-NET-Samples
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·