Skip to content

Set networkIsolationPolicy in Azure pipeline - #206

Merged
Peter Spada (spadapet) merged 1 commit into
mainfrom
dev/peterspa/networkIsolationPolicy
Jul 31, 2026
Merged

Set networkIsolationPolicy in Azure pipeline#206
Peter Spada (spadapet) merged 1 commit into
mainfrom
dev/peterspa/networkIsolationPolicy

Conversation

@spadapet

Copy link
Copy Markdown
Member

When this code builds in ADO, it's not supposed to use nuget.org as a feed, and I stopped using it with a recent PR. But the network isolation policy also needs to be set to really block it. I copied this from many other pipelines.

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.

Pull request overview

This PR updates the Azure Pipelines build definition to explicitly apply a network isolation policy when using the 1ES MicroBuild template, aligning the pipeline with the intent to prevent access to public feeds (like nuget.org) during ADO builds.

Changes:

  • Adds a settings block under extends.parameters to set networkIsolationPolicy.
  • Applies the policy list Permissive,CFSClean,CFSClean2,CFSClean3 to the pipeline’s template invocation.

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

@spadapet
Peter Spada (spadapet) merged commit 8010e04 into main Jul 31, 2026
6 checks passed
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.

3 participants