Skip to content

Onboard build pipeline to CFS network isolation (CFSClean) in audit mode#1750

Open
bragi92 wants to merge 1 commit into
ci_prodfrom
kaveesh/sr21-cfsclean-audit
Open

Onboard build pipeline to CFS network isolation (CFSClean) in audit mode#1750
bragi92 wants to merge 1 commit into
ci_prodfrom
kaveesh/sr21-cfsclean-audit

Conversation

@bragi92

@bragi92 bragi92 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What

Onboards the 1ES build pipeline (.pipelines/azure_pipeline_mergedbranches.yaml, pipeline id 444) to the CFSClean network isolation policy in audit mode (settings.networkIsolationPolicy: Permissive,CFSClean).

Why

Part of SFI Network Isolation / AzRel Red Flag MountainPass SR21 (CFS adoption). This pipeline (ADO github-private/microsoft, id 444) is flagged for restoring packages from public feeds. Permissive reports CFSClean violations on each run without failing the build, so this can land safely and surface the exact violating endpoints before remediation.

Effect

  • Non-breaking: builds continue to pass; violations are reported in the "Stop Network Isolation" task / GetPolicyViolationDetails.
  • No package-restore behavior changes in this PR.

Next steps (follow-up PRs)

  • Route NuGet via CFS (NuGet.Config + NuGetAuthenticate); vendor Go modules; route/pre-bake Ruby gems; replace Chocolatey (Windows) with a pre-baked image; mirror GitHub-release binaries (ORAS/Trivy/cmetrics); handle apt / Docker Hub.
  • Once builds are violation-free, drop Permissive to enforce and reach the 7-day lock-in.

SFI Network Isolation / MountainPass SR21: add the CFSClean policy in Permissive (audit) mode so the pipeline reports public package-feed violations without failing the build. Drop 'Permissive' to flip to enforcing once builds are violation-free.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7b30a2b2-5c35-4661-ae49-2edacdb00952
@bragi92
bragi92 requested a review from a team as a code owner July 23, 2026 19:01
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@bragi92

bragi92 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

/azp run

@bragi92
bragi92 enabled auto-merge (squash) July 23, 2026 19:12
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.

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