Support Sentinel data lake Kusto authentication - #942
Draft
Ian Hellen (ianhelle) wants to merge 1 commit into
Draft
Ian Hellen (ianhelle) wants to merge 1 commit into
Ian Hellen (ianhelle) wants to merge 1 commit into
Conversation
Forward configured authentication methods correctly and let the Kusto SDK discover the endpoint-specific token resource. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f9623714-c248-43f6-a0ad-0fbf8c8b122c
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.
Summary
az_connectusing its supportedauth_methodsparameterTokenCredentialintegration so endpoint metadata determines the correct token resource and tokens can refresh automaticallyRelated to #914.
Validation
pytest tests/data/drivers/test_azure_kusto_driver.py -q— 70 passedruff check msticpy/data/drivers/azure_kusto_driver.pyruff format --check msticpy/data/drivers/azure_kusto_driver.pypylint msticpy/data/drivers/azure_kusto_driver.py ...— 10.00/10Repo-wide pre-commit was also attempted. It reaches existing notebook Ruff failures unrelated to this change; the changed source and whitespace checks pass.
Live validation requested
This needs validation against an onboarded Microsoft Sentinel data lake workspace. The expected usage is: