24 Nov 2026 By CISO Consulting team 3 views 6 min read

PCI DSS 4.0 Scoping: Drawing the CDE Boundary for a QSA

Most PCI DSS readiness delays begin with an unclear scope. This guide treats PCI DSS 4.0 scoping of the cardholder data environment as an evidence exercise and shows how to produce a data flow diagram, system inventory and segmentation test plan.

A security architect marking a network and card data flow diagram on a whiteboard in a modern office.
In this article
  1. What the standard expects
  2. Step 1: Trace the card data flows
  3. Step 2: Classify every system
  4. Step 3: Reduce scope before you defend it
  5. Step 4: Test segmentation
  6. Step 5: Assemble what the QSA will verify
  7. Common gaps
  8. A sensible order of work
  9. How CISO Consulting helps

Most PCI DSS readiness projects that run late do so for the same reason: nobody can say with confidence where card data goes. PCI DSS 4.0 scoping of the cardholder data environment is the step that decides how many systems, people and processes an assessor will examine. It is also the step that is most often treated as a drawing rather than as evidence. This article walks through scoping as an evidence exercise, so that you finish with three artefacts a QSA can verify: a data flow diagram, a system inventory and a segmentation test plan.

What the standard expects

PCI DSS is the framework maintained by the PCI Security Standards Council, and payment brands and acquirers determine who must validate compliance and how. In Saudi Arabia, merchants, banks and payment providers typically meet it through contractual obligations with their acquirers or card schemes, alongside regulatory expectations from bodies such as SAMA for financial institutions.

Version 4.0 expects the entity to define and document its scope, and to confirm that scope is accurate. The scope covers the cardholder data environment (CDE): the people, processes and technology that store, process or transmit cardholder data or sensitive authentication data. It also covers system components that could affect the security of that data. Scope confirmation is meant to be repeated, not done once, and it should be redone when the environment changes significantly.

Step 1: Trace the card data flows

Start with the data, not the network. For every channel through which card data enters the organization, follow it until it leaves or is destroyed.

  1. List the entry points: e-commerce pages, point-of-sale terminals, call-centre payments, mobile apps, paper forms, email or chat where customers send card numbers unprompted.
  2. Follow each flow through every system that touches it: gateways, application servers, databases, message queues, logs, backups, analytics exports.
  3. Record where data is stored, for how long, and in what form (clear, truncated, tokenized, encrypted).
  4. Record the exits: acquirers, processors, third-party service providers, archives and deletion.
  5. Note who has access at each point, including administrators, support staff and vendors.

Interview the people who run each channel and then check their answers against technical evidence. Log searches, database discovery scans and network captures often reveal card numbers in places nobody listed, such as debug logs, ticketing attachments and shared drives.

Step 2: Classify every system

Once flows are mapped, each system component needs a category and a written reason for it.

  • In scope (CDE): stores, processes or transmits cardholder data, or sits in the same network segment without adequate separation.
  • Connected to or security-impacting: does not handle card data itself but can affect the CDE, for example identity services, patching and logging platforms, jump hosts, DNS, or systems with a network path into the CDE.
  • Out of scope: no card data, no connectivity to the CDE, and no ability to affect its security, with evidence to show it.

The common gap is classifying by assumption. "The HR network is out of scope" is a claim; a firewall rule set and a failed connection test are evidence. Write the rationale for each decision in the inventory so that a QSA can sample it.

Keep the inventory practical. For each component record the owner, function, location, data handled, the category, the justification and the requirements that apply. Include cloud services, virtual machines, containers and third-party connections, not only physical servers.

Step 3: Reduce scope before you defend it

Scope that is smaller is easier to prove. Before drawing the final boundary, ask which flows can be removed or shifted:

  • Can the page or terminal hand card entry to a validated payment provider so that your systems never see the number?
  • Is tokenization or point-to-point encryption feasible for stored or transmitted data?
  • Are old card numbers retained in logs, exports or backups with no business need?
  • Can administrative access be consolidated through a single controlled path?

Each change should be recorded, because it alters the data flow diagram and the inventory. Reduction decisions often involve product owners and architects as much as security teams, which is why they belong early in the project.

Step 4: Test segmentation

Segmentation is not required by PCI DSS, but it is the usual way to keep the CDE small. If you rely on it to take systems out of scope, you must show that it works. Under v4.0, entities that use segmentation need penetration testing that validates segmentation controls, and service providers face a more frequent cycle than other entities.

A segmentation test plan should state:

  1. The segmentation controls being relied on: firewalls, ACLs, VLANs, cloud security groups, micro-segmentation.
  2. The boundaries tested, drawn from the data flow diagram.
  3. Test paths from every out-of-scope zone toward the CDE, and from the CDE outward, across all relevant protocols and ports.
  4. The tester's independence and qualifications.
  5. Expected results, actual results and how failures were corrected and retested.

Review firewall and cloud rule sets before testing. Overly broad "any" rules, forgotten temporary exceptions and shared management interfaces are the usual reasons a boundary fails.

Step 5: Assemble what the QSA will verify

Package the work so each statement can be traced to evidence:

  • Data flow diagrams showing each channel end to end, with trust boundaries and the systems named in the inventory.
  • Network diagrams that match the data flow diagrams and the actual configuration.
  • System inventory with category and justification per component.
  • Third-party register listing service providers, the services they perform and their PCI responsibility matrix.
  • Segmentation test results, with retest evidence.
  • A scope confirmation record showing who reviewed the scope, when, and what triggers the next review.

Consistency is what a QSA looks for. If the diagram, the inventory and the firewall rules disagree, the assessor will widen the scope until they can be reconciled.

Common gaps

  • Diagrams drawn from design documents rather than from observation.
  • Card data found in logs, backups, email or support tools that were never mapped.
  • Connected systems such as authentication, logging and management tools left unclassified.
  • Segmentation assumed rather than tested, or tested once and never after network changes.
  • Service provider responsibilities undocumented.
  • Scope reviewed at project start and then never again.

A sensible order of work

Map flows first, classify systems second, reduce scope third, test segmentation fourth, then compile the evidence and only then begin the full requirements gap analysis. Starting the gap analysis before the boundary is stable means rework when the scope changes.

How CISO Consulting helps

Our PCI DSS Readiness & Compliance service prepares you for PCI DSS v4.0, from scoping and segmentation through gap assessment, remediation support and readiness for your QSA assessment or self-assessment questionnaire. The work follows four stages: Scope, Assess, Remediate and Ready. The first stage covers card-data flows and segmentation, and the later stages cover the requirements gap analysis, support in closing the gaps, and evidence and pre-assessment review.

The scoping stage produces a scoping document and data-flow diagrams, and our segmentation review looks at whether your boundaries hold. Where segmentation depends on network or cloud design, a Security Architecture Review can examine segmentation, identity and data flows in more depth. The project is delivered over 6–12 weeks and ends with a gap assessment report, a remediation plan and an evidence pack for the assessment.

If your assessment date is approaching and the scope is still contested, contact CISO Consulting to start with the scoping stage.

Tags: PCI DSS Scoping Cardholder Data Environment Segmentation QSA Payments
Readiness self-check

How ready are you? Find out in two minutes

Answer a few questions for your framework. You get a score, your biggest gaps and — if you want it — a detailed assessment from our team.

Ready to talk about your compliance?

Tell us where you stand. We will show you the shortest path to what your regulator expects.

Regulatory updates in your inbox

SAMA, NCA and SDAIA changes and what they mean for your institution — once a month.

E-mails in

We confirm by e-mail; unsubscribe any time. Manage your subscription · Past issues

Schedule a Free Assessment