Hello guys,
I’m trying to automate remediation actions (e.g., patching vulnerabilities, Update Google Android) via the Microsoft Defender for Endpoint API but cannot find the correct endpoint to submit remediation requests.
Here’s what I’ve tried:
- Attempted API Call:
- Endpoint:
https://api.securitycenter.microsoft.com/api/remediation
- Body:
{"issue_id":"CVE-2024-43097","action":"Update Google Android"}
- Result: HTTP 405 (Method Not Allowed).
Documentation Review: The Remediation Activity API documentation lists methods like GET /api/remediationTasks
but doesn’t clarify how to initiate remediation.
Questions:
What is the correct API endpoint and HTTP method (POST/PUT) to request remediation for a CVE across affected devices?
Are there examples of JSON payloads for remediation requests?
Thank you in advance!Hello guys,
I’m trying to automate remediation actions (e.g., patching vulnerabilities, Update Google Android) via the Microsoft Defender for Endpoint API but cannot find the correct endpoint to submit remediation requests.
Here’s what I’ve tried:
Attempted API Call:
Endpoint: https://api.securitycenter.microsoft.com/api/remediation
Body: `{"issue_id":"CVE-2024-43097","action":"Update Google Android"}`
**Result**: HTTP 405 (Method Not Allowed).
**Documentation Review**:
The [Remediation Activity API documentation](https://learn.microsoft.com/en-us/defender-endpoint/api/get-remediation-methods-properties"learn.microsoft.com") lists methods like `GET /api/remediationTasks` but doesn’t clarify how to *initiate* remediation.
Questions:
What is the correct API endpoint and HTTP method (POST/PUT) to request remediation for a CVE across affected devices?
Are there examples of JSON payloads for remediation requests?
Thank you in advance!