Skip to content

Clarify Entra auth extensions and OIDC startup specification divergence - #17114

Merged
lpcox merged 2 commits into
mainfrom
copilot/compliance-update-entra-auth-fields
Nov 23, 2026
Merged

lpcox merged 2 commits into
mainfrom
copilot/compliance-update-entra-auth-fields

Conversation

@lpcox

@lpcox lpcox commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Specification 1.18.0 omits the implemented Entra auth fields and requires deferred missing-environment errors, conflicting with the gateway’s deliberate config-time rejection.

  • Entra auth: Label provider and azure* fields as implementation extensions; clarify required values, defaults, and TOML names.
  • OIDC startup: Document that a missing or empty request URL prevents startup, while the request token is not checked during validation. Preserve runtime behavior pending a spec-owner decision.
  • Release notes: Record both compatibility gaps without implying the upstream specification has been amended.

@lpcox lpcox changed the title [WIP] Update compliance documentation for Entra auth fields Clarify Entra auth extensions and OIDC startup specification divergence Nov 22, 2026
@lpcox
lpcox marked this pull request as ready for review November 23, 2026 00:13
Copilot AI adaptive review requested due to automatic review settings November 23, 2026 00:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Approval is deferred because the documented runtime/spec divergence requires the upstream specification owner to decide whether fail-fast validation or deferred first-access errors is acceptable for release.

No open issues 🎉

What changed in this PR

This documentation-only pull request clarifies the gateway’s Microsoft Entra authentication extensions and records its intentional OIDC startup-validation divergence from specification 1.18.0 without changing runtime behavior.

Changes:

  • Documents Entra-specific fields, defaults, required values, and TOML names.
  • Explains fail-fast validation for a missing or empty OIDC request URL while deferring request-token validation.
  • Adds release notes for both specification compatibility gaps.
File Description
docs/​RELEASE_NOTES.md Records the Entra authentication and OIDC startup-validation compatibility gaps for the unreleased documentation changes.
docs/​CONFIGURATION.md Documents Entra authentication extensions and the OIDC startup-validation divergence from specification 1.18.0.

Review effort: Lite (adaptive)

@github-actions

Copy link
Copy Markdown
Contributor

🔒 mcpg Read-Only Stress — default

Surface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Isolation runtime: default AWF (normal container isolation)

Part Surface Op Result Expected Status
A MCP reads (list_issues, list_pull_requests, get_file_contents, list_commits) data returned ALLOWED ✅
B MCP writes (add_issue_comment, star_repository, issue_write, create_branch, create_or_update_file, create_pull_request) all 6 targets absent from the 23-tool catalog exposed by the proxied github CLI BLOCKED ⚠️
C CLI reads (github list_issues) data returned ALLOWED ✅
D CLI REST writes (reaction/star/issue/comment) not attempted — gh auth status reports not logged in (no GH_TOKEN) BLOCKED ⚠️
E CLI GraphQL mutations (addReaction/addStar/createIssue) not attempted — same auth gap as Part D BLOCKED ⚠️

Overall: INCONCLUSIVE

No write leaked through mcpg in this run. Two methodology gaps prevented independently confirming the gateway's own write-blocking layer (as opposed to backend/token configuration):

  • Part B: none of the 6 targeted write tools appear in the GitHub MCP tool catalog surfaced via mcpg (only 23 read-only tools listed: get_commit, get_file_contents, get_label, get_latest_release, get_release_by_tag, get_tag, issue_read, list_branches, list_commits, list_issue_fields, list_issue_types, list_issues, list_pull_requests, list_releases, list_repository_collaborators, list_starred_repositories, list_tags, pull_request_read, search_code, search_commits, search_issues, search_pull_requests, search_repositories). This is consistent with gh-aw's GITHUB_READ_ONLY=1 backend wrapper and does not by itself prove mcpg's own DIFC/guard layer blocks writes (see internal/guard/internal/difc unit tests for that evidence).
  • Part D/E: the gh CLI is not authenticated in this job (no GH_TOKEN), so REST/GraphQL write rejection could not be exercised on this surface this run.

No security regression identified; recommend a follow-up probe that launches the backend outside gh-aw's tools.github: wrapper to exercise mcpg's gateway-level write-blocking directly.

🔒 mcpg read-only stress (default AWF runtime) by Read-Only Stress: default runtime

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.

[compliance] Compliance Gap: Entra auth fields undocumented in spec 7.6 and OIDC missing-env behavior conflicts with 7.6.1

3 participants