Skip to content

Add policy to restrict SRE Agent AI model providers#540

Open
RobiladK wants to merge 1 commit into
Azure:mainfrom
RobiladK:add-sre-agent-model-provider-policy
Open

Add policy to restrict SRE Agent AI model providers#540
RobiladK wants to merge 1 commit into
Azure:mainfrom
RobiladK:add-sre-agent-model-provider-policy

Conversation

@RobiladK

Copy link
Copy Markdown

Description

Adds an Azure Policy definition to audit or deny SRE Agent resources (Microsoft.App/agents) when their explicitly configured default AI model provider is absent from an administrator-managed allowlist.

Details

  • Uses the published Microsoft.App/agents/defaultModel.provider Azure Policy alias.
  • Defaults to Audit; assignments can use Deny after validation.
  • Treats an omitted provider as noncompliant so deployment defaults cannot bypass the allowlist.
  • Includes the required complete, rules-only, and parameters-only policy artifacts.

Validation

Validated with the Community-Policy formatter and live-tested against an SRE Agent resource using Azure Policy enforcement.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@neiichango neiichango self-assigned this Jul 15, 2026
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