feat(microsoft-defender-o365): mvp1/chk4 - implement microsoft defender api authentication (msal) (#497) - #498
Draft
Megafredo wants to merge 12 commits into
Conversation
Megafredo
force-pushed
the
feat/493-mvp1-chk2-define-business-configuration
branch
from
July 17, 2026 15:06
ee1400d to
cb5580c
Compare
guzmud
force-pushed
the
feat/497-mvp1-chk4-msal-authentication
branch
from
July 28, 2026 11:09
66620f2 to
2a8f163
Compare
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
guzmud
force-pushed
the
feat/497-mvp1-chk4-msal-authentication
branch
from
July 28, 2026 13:03
ecc6831 to
dc72caf
Compare
Member
|
Note for the reviewer/other devs: the content of the payloads in |
guzmud
force-pushed
the
feat/497-mvp1-chk4-msal-authentication
branch
from
July 29, 2026 09:33
dc72caf to
70d73e2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parent Issue: #497
Parent PR (MVP): #492
Contracts
Input Contract
Output Contract
Consumed by:
DefenderO365DataFetcher(CHK.6), which implements the template'sDataFetcherProtocol. The fetcher instantiatesMSGraphAuthClientand callsget_access_token()to build theAuthorizationheader on every Graph API request.Acceptance Criteria
Done Checklist
src/auth/ms_graph_auth_client.pywithMSGraphAuthClientclassAuthenticationError(CollectorError)insrc/auth/exceptions.pyConfidentialClientApplication(client_credential=secret){private_key, thumbprint}to MSALget_access_token()usingacquire_token_for_client"error"key in MSAL response, raiseAuthenticationErrorCloses #497