cloudflare-one-migrations: Assessing and Implementing Migration from Zscaler, Palo Alto, and Legacy VPN/SWG to Cloudflare One

Introduction

When enterprises migrate to Cloudflare One from Zscaler, Palo Alto, traditional VPNs, or SWGs, the difficulty often lies not in “how to configure Gateway,” but in whether the source-side policy volume, object dependencies, identity, and TLS/DLP are ready, and whether equivalents exist for each rule on the target side. Relying solely on general conversation can easily result in missing parity gaps, or writing configurations that seem complete but are actually unfeasible without verifying official documentation and APIs.

Below is an introduction to the Agent Skill cloudflare-one-migrations found in Cloudflare’s official repository: it codifies migration assessment, policy mapping, rollout order, and common pitfalls into a fixed workflow, and requires fetching Cloudflare documentation, API schemas, and source vendor export instructions before generating specific configurations.

What is this

cloudflare-one-migrations is a Skill within the Cloudflare Skills collection, maintained by Cloudflare and targeting the Agent Skills standard (loaded by the Agent upon context match).

The official description is: Assess and plan migration from existing VPN, SWG, or SASE platforms to Cloudflare One, including policy mapping, parity gap analysis, and rollout.

The primary target audience is engineers and architects involved in the design, implementation, or review of Cloudflare One, especially those handling the replacement of Zscaler ZIA/ZPA, Palo Alto NGFW/Prisma/GlobalProtect, or legacy VPN/SWG/SD-WAN.

Core Functionality

The Skill body emphasizes: Before generating precise configurations, current Cloudflare documentation, Cloudflare API schemas, and source vendor export documentation should be retrieved first.

Seven-Step Workflow

  1. Identify Source Stack: Zscaler ZIA, Zscaler ZPA, Palo Alto NGFW/Prisma/GlobalProtect, legacy VPN/SWG/SD-WAN, or others.
  2. Request Exports and Logs Before Mapping: Prioritize structured exports; avoid relying solely on screenshots or text summaries.
  3. Build Inventory: Identity and groups, applications, destinations, connectors/tunnels, DNS/URL/Firewall/DLP/TLS policies, objects and lists, locations/sites, exceptions, hit counts, compliance logs, etc.
  4. Produce Mapping Plan: Source objects, Cloudflare One target resources, confidence levels, prerequisites, unsupported/partial mappings, and items requiring manual decision.
  5. Create in Dependency Order: Identity/SCIM, connectors/on-ramps, routing/DNS, lists/objects, TLS bypass, Access applications and policies, Gateway policies, DLP/CASB, logging, etc.
  6. Safe Rollout in Phases: Use a migration prefix; create rules in disabled or audit-mode by default; conduct a small-scale pilot; compare logs before expanding the rollout.
  7. Cover Every Source Rule: Every rule must be mapped to a Cloudflare object, or explicitly marked as “Not Migrated” in a table with reasons and security impacts noted.

Exports to Request from Source

  • ZIA: URL filtering, firewall filtering, SSL inspection, DLP, custom URL categories, IP groups, network services/service groups, users/groups/departments, locations, GRE tunnels, static IPs, etc.
  • ZPA: App segments, segment groups, server groups, app connectors/connector groups, access policies, IdP/group mappings, private DNS domains, ports and protocols, etc.
  • Palo Alto / Prisma: Security/NAT/decryption rules, address/service objects and groups, URL categories, HIP profiles, GlobalProtect configurations, Prisma Access remote networks/service connections, zones, tags, logs, and hit counts, etc.

Mapping Heuristics

Assessment Prompts

The Skill lists dimensions that the Agent should inquire about during assessment, including but not limited to:

  • Source Scope: Which products are in scope, what exports are available, whether screenshots/summaries mask missing object files.
  • Rule Volume and Hit Data: Number of rules by type, disabled/stale rules, rules with no hits, high-hit rules, business-critical exceptions.
  • Object Dependencies: Address/service objects, groups, custom categories, network services, app IDs, zones, tags, connectors, server groups, etc.
  • Identity Readiness: IdP, SCIM/group sync, group name normalization, single-user rules, local groups, service accounts, outsourced identities, etc.
  • TLS/DLP Readiness: Source-side decryption rules, certificate pinning bypasses, DLP engines/profiles, custom regexes, exact match data, payload log expectations, etc.
  • Connectivity Readiness: Source tunnels/connectors, private DNS, Split Tunnels or bypass behavior, source IP preservation, egress IP whitelists, site-to-site requirements, etc.
  • Rollout Readiness: Pilot groups/sites, parallel run duration, rollback owners, source stack decommissioning criteria, monitoring and log comparison plans.

Common Source Vendor Pitfalls (Excerpt)

Zscaler ZIA / SWG

  • Custom URL categories are often split into multiple IP, domain, and URL lists; count the generated list quantity, not just the source categories.
  • ZIA locations with IPs can serve as source IP lists; they do not automatically become Gateway DNS locations for DNS policy scopes.
  • GRE tunnel source IPs can assist policy conditions; transport layer migration belongs to a separate workstream for Cloudflare Mesh (formerly WARP Connector) or Cloudflare WAN.
  • CAUTION/warn behaviors do not have a one-to-one correspondence in Gateway; they should be treated as explicit customer decisions, not default allow/block.
  • DLP engines and custom regexes usually require manually rebuilding DLP profiles on the Cloudflare side; placeholder policies must not be treated as enabled when DLP is incomplete.
  • Network application groups and unsupported protocols are often partial mappings and require review before enabling.
  • If SCIM is unavailable, source rules scoped by identity may be overly broad; verify Gateway identity selectors before creating rules and consider executable alternatives (e.g., users/email lists).

Zscaler ZPA / Private Access

  • ZPA app segments, server groups, connector groups, and Cloudflare are not 1:1; Cloudflare models Access applications, tunnel routing, DNS, and policies separately.
  • Simply creating a tunnel via API does not mean the connector is deployed; separate planning is required for cloudflared installation, authentication, and source reachability.
  • Recommended to create one Cloudflare Tunnel per ZPA connector group (regardless of connector running status AUTHENTICATED/DISCONNECTED/disabled); mark disconnected or legacy groups in tunnel descriptions, allowing customers to decide on decommissioning after verification.
  • Within the same connector group, each ZPA connector instance corresponds to a cloudflared replica using that tunnel token; the number of replicas should match the number of instances in the group to preserve topology. A single tunnel token can support multiple simultaneous cloudflared processes.
  • For each connector group, sort out its associated server groups and the app segments assigned to them; map IPs/CIDRs within segments to corresponding tunnel CIDR routes, and domains to hostname routes; prioritize one CIDR route per subnet over numerous /32s when the subnet covers hosts within the segment.
  • ZPA bypass corresponds to the Cloudflare One Client’s split-tunnel exclude on the Cloudflare side, not an Access bypass decision; domains and IPs must be added to the device profile’s split tunnel exclude list in the dashboard. This step lacks API automation and requires manual configuration by the customer.

The cloudflare-one Skill in the same repository focuses on daily design and troubleshooting; cloudflare-one-migrations specifically covers assessment and mapping when migrating from competitors or legacy stacks. They can be used together.

Installation and Activation

Cloudflare Skills supports multiple Agent environments. Belonging to the same cloudflare/skills repository as cloudflare-one-migrations, installation follows the repository README.

Cursor: Install from the Cursor Marketplace, or fill in cloudflare/skills under Settings > Rules > Add Rule > Remote Rule (Github).

Claude Code (Plugin Marketplace):

/plugin marketplace add cloudflare/skills
/plugin install cloudflare@cloudflare

OpenAI Codex:

codex plugin marketplace add cloudflare/skills
codex plugin add cloudflare@cloudflare

A new Codex session is required after installation.

npx skills:

npx skills add https://github.com/cloudflare/skills

VS Code / GitHub Copilot: Enable chat.plugins.enabled in settings, and run Chat: Install Plugin From Source via the Command Palette with the source address https://github.com/cloudflare/skills.

If only the Agent Skills standard is supported and full plugins cannot be installed, the corresponding skill directory from the repository can be copied to the Agent’s specified skills directory (e.g., ~/.cursor/skills/ for Cursor). Official Note: Skills are automatically loaded and applied when conversation matches trigger conditions.

The plugin also bundles the main Cloudflare MCP server (cloudflare) for accessing Cloudflare APIs and current developer documentation via Code Mode; this MCP capability can be used in conjunction with migration assessment when documentation and schemas are required.

Typical Usage

The Skill does not have a standalone executable CLI; usage involves having the Agent load this Skill during tasks such as “migration assessment / policy mapping / rollout planning / gap analysis” and following the workflow in the body. Below are prompt directions that can be placed directly into a conversation (phrasing should be combined with your actual exports and scope):

  1. Describe the source stack (e.g., ZIA + ZPA, or Palo Alto Prisma + GlobalProtect) and the types of exports already obtained.
  2. Request building an inventory according to the Skill workflow and list the missing exports (cross-referencing “Exports To Ask For”).
  3. Request a mapping table output: source objects, Cloudflare One targets, confidence levels, partial/unsupported items, manual decisions, and security impacts.
  4. Request a phased rollout plan: migration prefix, default audit/disabled, pilot scope, log comparison items, and a Not Migrated list.

Before generating specific Gateway/Access/Tunnel configurations, explicitly instruct the Agent to consult current Cloudflare documentation and API schemas first to avoid writing outdated fields based on memory.

Scenarios and Notes

Who is it for

  • Teams replacing SASE or Zero Trust platforms who need structured parity and deployment sequencing.
  • Implementers using environments supporting Skills (such as Cursor, Claude Code, Codex, VS Code Copilot) who wish to reduce errors like “missing rules, missing DLP, mistakenly treating ZPA bypass as Access bypass.”

Limitations and Notes

  • The Skill provides methodology and mapping heuristics; it does not replace actual source exports, hit logs, and customer security policy decisions.
  • Some capabilities (e.g., split tunnel excludes corresponding to ZPA bypass) are officially noted as requiring manual configuration by the customer in the Dashboard with no API automation.
  • When DLP, TLS decryption, or SCIM are not ready, the Skill explicitly requires not pretending completion with placeholder policies.
  • In the pre-fetched materials, there are further source vendor pitfall descriptions following the ZPA section; the complete list is subject to the Official Skill Directory.

Conclusion

cloudflare-one-migrations embeds the most common pitfall checklists, mapping orders, and phased rollout constraints when enterprises migrate to Cloudflare One into the Agent context. It produces configurations aligned with Cloudflare documentation and API schemas, making it suitable as an officially endorsed reference for B2B SASE migration scenarios.

Official Address: https://github.com/cloudflare/skills/tree/main/skills/cloudflare-one-migrations
Collection and Installation Instructions: https://github.com/cloudflare/skills

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye