Skip to content

Update trusted endpoints for Azure Monitor and sovereign clouds - #675

Merged
Aasav Badera (aasavbadera) merged 1 commit into
masterfrom
aasavbadera/update-trusted-endpoints
Nov 26, 2026
Merged

Aasav Badera (aasavbadera) merged 1 commit into
masterfrom
aasavbadera/update-trusted-endpoints

Conversation

@aasavbadera

Copy link
Copy Markdown
Collaborator

Added

  • Add 12 trusted suffixes for Azure Monitor subdomains in public, US Government, and China clouds, and Fabric endpoints in US Government, Bleu, and Delos.
  • Add 9 exact Azure Monitor proxy hostnames for Bleu, Delos, and GovSG.
  • Cover the new endpoints with parameterized tests for case handling, nested subdomains, cloud isolation, lookalike domains, and exact-host boundaries.

Changed

  • Preserve all 71 existing Python endpoint rules, including the legacy sovereign proxy hostnames.
  • Keep the existing JSON schema, HTTPS login authorities, matching algorithms, and authentication behavior unchanged. DSTS aliases and authentication are out of scope.

Fixed

  • Require negative endpoint tests to raise the expected exception instead of silently passing when an endpoint is accepted.
  • Replace the outdated rejection expectation for cluster.adx.monitor.azure.com with positive suffix coverage.

Validation

  • Before the allowlist update: all 21 new endpoint cases failed as expected; all 20 existing targeted tests passed.
  • After the update: all 41 targeted endpoint and authentication-validation tests passed.
  • Verified all 78 reference host/suffix rules with the actual SDK validator (205 case/subdomain checks), with zero remaining host/suffix gaps.
  • Confirmed all existing Python rules are retained and only the intended 12 suffixes and 9 exact hostnames were added.
  • Ruff formatting and lint checks passed.
  • basedpyright passed with 0 errors and 0 warnings.

Validation is offline and does not claim live-service connectivity.

Add missing Azure Monitor subdomains, sovereign Fabric suffixes, and
sovereign Azure Monitor proxy hosts while preserving existing entries.
Cover cloud isolation and hostname boundaries with regression tests,
and make expected-rejection assertions reliable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c9150fbe-2e7c-47ab-a0ca-667130077319
@aasavbadera
Aasav Badera (aasavbadera) merged commit 5594501 into master Nov 26, 2026
4 checks passed
@aasavbadera
Aasav Badera (aasavbadera) deleted the aasavbadera/update-trusted-endpoints branch November 26, 2026 11:57
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.

2 participants