Skip to content

Changing the MDE/M365D request content to json encoding.#498

Merged
petebryan merged 5 commits intomainfrom
ianhelle/odata_driver_json_encode-2022-08-05
Sep 9, 2022
Merged

Changing the MDE/M365D request content to json encoding.#498
petebryan merged 5 commits intomainfrom
ianhelle/odata_driver_json_encode-2022-08-05

Conversation

@ianhelle
Copy link
Contributor

@ianhelle ianhelle commented Sep 9, 2022

Defender API no longer accepts stringified json as a content.
Passing dict of query to json parameter to to httpx.post() (which automatically encodes as json).

@ianhelle ianhelle requested a review from petebryan September 9, 2022 00:43
@ianhelle ianhelle self-assigned this Sep 9, 2022
@ianhelle ianhelle linked an issue Sep 9, 2022 that may be closed by this pull request
@petebryan petebryan merged commit 0cd6f00 into main Sep 9, 2022
@petebryan petebryan deleted the ianhelle/odata_driver_json_encode-2022-08-05 branch September 9, 2022 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong Encoding of the MDE Query Generating process tree using alternative data source

2 participants