Skip to content

fix: merging dev to main#642

Open
Priyanka-Microsoft wants to merge 6 commits into
mainfrom
dev
Open

fix: merging dev to main#642
Priyanka-Microsoft wants to merge 6 commits into
mainfrom
dev

Conversation

@Priyanka-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

  • ...
    This pull request updates the networking configuration for the Document Intelligence resource in infra/main.bicep to support private networking, and conditionally deploys a private endpoint when enabled. The changes improve security and flexibility by allowing the resource to be accessed only via private networking if desired.

Networking configuration improvements:

  • Updated the publicNetworkAccess and networkAcls.defaultAction properties for the documentIntelligence module to enable or disable public access based on the enablePrivateNetworking parameter, aligning with WAF requirements.

Private endpoint deployment:

  • Added a conditional deployment of a docIntelPrivateEndpoint module, which provisions a private endpoint and associates it with a private DNS zone when private networking is enabled.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Azure Document Intelligence (Cognitive Services) deployment in the infra layer to support WAF-aligned private networking by disabling public access when enablePrivateNetworking is enabled and adding a conditional private endpoint deployment tied to the Cognitive Services private DNS zone.

Changes:

  • Updated Document Intelligence publicNetworkAccess / networkAcls.defaultAction to toggle based on enablePrivateNetworking.
  • Added a conditional docIntelPrivateEndpoint deployment (AVM private-endpoint module) with DNS zone group association.
  • Regenerated/updated infra/main.json to reflect the new Bicep changes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
infra/main.bicep Makes Document Intelligence WAF-aligned for private networking and adds a conditional private endpoint module.
infra/main.json Generated ARM template updates reflecting the new networking settings and private endpoint deployment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infra/main.bicep
name: 'pep-${docIntelAccountName}'
customNetworkInterfaceName: 'nic-${docIntelAccountName}'
location: solutionLocation
tags: tags
feat: Enhance email template, add RG owner tag, scalability input
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.

7 participants