LEADCHAPTER 17

Compliance and audits: SOC 2, ISO 27001, PCI DSS, regulators

Write each control once, map it to every framework that asks, make the evidence fall out of the systems, and never let an audit checklist make the system less secure

45 MINSECURITYUPDATED 2026-11-05
PREDICT

Twite, a B2B messaging company, is preparing for its first SOC 2. Which of these does the AICPA Trust Services Criteria actually require?

Compliance is the work of proving to someone outside the company that your security is what you say it is. The someone varies: a customer’s procurement team reading a SOC 2 report, a certification body issuing an ISO 27001 certificate, a Qualified Security Assessor signing a PCI DSS Report on Compliance, or a regulator who can fine you. Each asks a different question in a different vocabulary. A lead who answers each one separately ends up running four programmes, collecting the same evidence four times, and owning controls that exist only on paper.

This chapter is about running one programme instead: a single set of controls, each with an owner and evidence that the systems produce, mapped to every framework that asks. It assumes you know the controls themselves; identity, access and secrets covers access reviews and NIST SP 800-63-4, and testing money and regulated systems covers what audit evidence for a test looks like.

The model: controls, claims and evidence

Three words carry the whole discipline.

A control is something that reduces a risk and can be shown to operate: leavers lose access the day they leave; every production change has an approval; card numbers are never written to logs. A control has an owner, a frequency (continuous, per event, quarterly), and a way to tell whether it ran.

A framework is a set of questions about controls. Some are prescriptive (PCI DSS says passwords are at least 12 characters). Some are outcome-based (SOC 2 says logical access is restricted to meet your objectives, and leaves the how to you). The framework never runs anything. Your controls do.

Evidence is the record that a control ran. An auditor tests two things: whether the control is designed to address the risk, and whether it operated across the period. The second is where companies fail, because the evidence was never kept, or was assembled by hand the week before fieldwork.

The model, then: write each control once, in your own words, as a testable statement. Map it to every framework requirement it answers. Make the evidence a by-product of the system rather than a task. Practitioners call the result a common control framework or a unified control set. The mapping is the artefact for this chapter.

The three frameworks you will meet

SOC 2 ISO/IEC 27001:2022 PCI DSS v4.0.1
Owner AICPA ISO and IEC PCI Security Standards Council
What you get An attestation report, Type I or Type II A certificate for your management system A Report on Compliance (ROC) or self-assessment, plus an Attestation of Compliance (AOC)
Who assesses A licensed CPA firm An accredited certification body A Qualified Security Assessor (QSA), or yourself at lower levels
Style Criteria; you design the controls Management system clauses plus a control reference list Prescriptive requirements with testing procedures
Scope The system you describe The scope you declare for the ISMS Every system that stores, processes or transmits card data, or can affect its security
Who asks for it US and global B2B customers European, Asian and public-sector customers, banks The card brands, through your acquirer or partners

SOC 2

SOC 2 is an attestation engagement under the AICPA’s attestation standards. The auditor reports on your system description and on whether your controls meet the Trust Services Criteria (2017, with revised points of focus in 2022). There are five categories: security, availability, processing integrity, confidentiality and privacy. Security, the common criteria CC1 to CC9, is in every report; the others are optional. CC6 covers logical and physical access, CC7 system operations and incident response, CC8.1 change management, CC9.2 vendor risk.

A Type I report says the controls were suitably designed and in place on a date. A Type II adds an opinion on operating effectiveness over a period, with the auditor’s tests and any exceptions. Customers want Type II. Most companies get a Type I first to prove readiness, then run a first observation window of three to six months (a common choice, not a rule) before moving to twelve.

Two features matter to an engineer. The criteria are outcome-based: CC6.1 says the entity implements logical access security software, infrastructure and architectures to protect information assets, and nothing about password length. And the report lists complementary user entity controls, the things your customers must do for your controls to work, and treats your cloud provider as a subservice organisation, usually carved out. Read your providers’ SOC 2 reports; cloud and infrastructure security explains why theirs does not cover your configuration.

ISO/IEC 27001:2022

ISO 27001 certifies an information security management system (ISMS). Clauses 4 to 10 are mandatory: context and scope, leadership, risk assessment and treatment, support, operation, performance evaluation including internal audit and management review, and improvement. Annex A is a reference list of 93 controls in four themes: organisational (5.1 to 5.37), people (6.1 to 6.8), physical (7.1 to 7.14) and technological (8.1 to 8.34). ISO/IEC 27002:2022 gives guidance for each.

The document that ties them together is the Statement of Applicability: every Annex A control, whether it applies, why, and whether it is implemented. Certification is a Stage 1 audit (documentation and readiness) and a Stage 2 audit (implementation), then surveillance audits in the following years and recertification on a three-year cycle. The transition from the 2013 edition ended on 31 October 2025, so any certificate you see now should cite 2022.

ISO is the framework most likely to be passed on paper and ignored in practice, because the auditor samples the management system. It is also the one that most rewards doing it properly, because the risk assessment and management review clauses force leadership to own the risks by name.

PCI DSS v4.0.1

PCI DSS v4.0.1 was published in June 2024; v4.0 was retired on 31 December 2024, and the requirements that v4.0 marked as future-dated became mandatory on 31 March 2025. It has twelve principal requirements and testing procedures for each one. It is the most prescriptive of the three: 7.2.4 requires user access reviews at least every six months, 8.2.6 disables inactive accounts within 90 days, 8.4.2 requires MFA for all non-console access into the cardholder data environment (CDE).

Two things decide how hard PCI will be. The first is level, which the card brands set, not the Council. Visa places a service provider at Level 1 when it stores, processes or transmits more than 300,000 Visa transactions a year, and Level 1 means an annual ROC by a QSA. The second is scope. Every system in the CDE, connected to it, or able to affect its security is in scope. Requirement 12.5.2 has you document and confirm scope every twelve months and on significant change; 12.5.2.1 makes that every six months for service providers. Scope reduction (tokenisation, hosted payment fields, segmentation) is the largest lever you have, and threat modelling is where it is decided.

v4.0 added the customized approach (Appendix D): you meet a requirement’s stated objective with your own control, backed by a targeted risk analysis, instead of the defined approach. It is separate from compensating controls (Appendix B), which cover a constraint that stops you meeting a requirement. The customized approach suits mature teams with strong evidence. It is not a way round a requirement you dislike.

Regulators are different

A framework is a customer’s question. A regulator’s question is law, and three things change.

You cannot switch. You choose your SOC 2 auditor. You do not choose your supervisor, and the relationship runs for years, through incidents and outside any audit cycle.

The questions are about outcomes and harm. The UK Financial Conduct Authority’s operational resilience rules (PS21/3, in force from 31 March 2022, with the transition ending 31 March 2025) have firms identify their important business services, set an impact tolerance for each (the most disruption they can absorb before causing intolerable harm), map the people, processes, technology and suppliers behind them, run scenario tests, and write a self-assessment. None of it is a control list. All of it needs engineering truth.

Third parties feel it through contracts. The EU Digital Operational Resilience Act, Regulation (EU) 2022/2554, has applied since 17 January 2025 to banks, insurers, investment firms, payment and e-money institutions and other financial entities. It covers ICT risk management, reporting of major ICT-related incidents, resilience testing (including threat-led penetration testing for firms the authorities select), ICT third-party risk with a register of information on every ICT contract, and information sharing. If you sell software to a bank, DORA reaches you as contract clauses, audit rights and incident-notification duties. Do not confuse it with the DORA delivery metrics from DevOps Research and Assessment, covered in quality metrics; in a fintech, both will be on the same slide sooner or later. The EU’s NIS2 Directive does similar work for essential and important entities outside finance.

Who owns the regulator? Usually compliance, legal or a risk function. Your role as security lead is to make sure what they tell the regulator is true: that the incident playbook meets the reporting clock, that the third-party register matches what engineering actually calls, and that the impact tolerance was tested rather than asserted.

Compliance and security: where practitioners disagree

One camp says compliance is not security, and points at Target, whose layered defences security philosophies takes apart, and at every breached company with a clean report. Audits sample, look backwards, and test what is written down, so a programme aimed at passing them optimises for paperwork.

Phil Venables, formerly CISO at Goldman Sachs and Google Cloud, argues in Compliance vs. Security (2020) that the slogan misleads. Compliance is a necessary but not sufficient condition: a baseline that has raised the floor (he cites PCI’s effect on cardholder data), that you should build into monitoring and configuration baselines, and whose failures are signals of deeper problems. Most experienced leads end up near his position. Use the frameworks as a floor and as a forcing function for evidence; set priorities from your own threat model and incident history.

The hard case is when a framework, or more often an auditor’s checklist, asks for something that makes the system worse. Periodic password expiry is the classic. NIST SP 800-63B-4, section 3.1.1.2, says verifiers “SHALL NOT require subscribers to change passwords periodically”, and must force a change on evidence of compromise, because forced rotation produces predictable, weaker passwords and more help-desk resets. Now read the frameworks:

  • SOC 2. The Trust Services Criteria do not prescribe a password-change interval. If an auditor asks for one, it comes from their firm’s control library, not the criteria.
  • ISO 27001. Annex A 5.17, authentication information, asks you to manage credentials; your policy sets the rule.
  • PCI DSS. 8.3.9 requires a change every 90 days, or dynamic analysis of account posture, only where a password is the only factor; its applicability note, and a Council FAQ, say it does not apply where MFA is used. 8.6.3 asks for periodic change of application and system account passwords at a frequency set by your targeted risk analysis.

So the conflict usually lives in a template, not a standard. The lead’s skill is knowing the text well enough to say so, with citations, without making an enemy of the auditor. Auditors are professionals bound by their own standards; most respond well to a written control rationale and badly to being told they are wrong in a meeting.

Writing the control mapping

Start from a policy statement, because policies are what leadership approves and auditors read first. Break it into controls, each one testable: who does what, how often, on what scope, and what evidence it leaves. Then map.

Control SOC 2 TSC ISO 27001:2022 Annex A PCI DSS v4.0.1
Access granted on approved request, least privilege CC6.2, CC6.3 5.15, 5.18 7.2.1, 7.2.2, 8.2.4
Leavers lose access on their last day CC6.2 5.18 8.2.5
Phishing-resistant MFA for production and the CDE CC6.1, CC6.6 8.5 8.4.2, 8.4.3
Privileged access is just-in-time CC6.3 8.2 7.2.2
Access reviewed quarterly by resource owners CC6.2, CC6.3 5.18 7.2.4

Four rules make the mapping useful.

Meet the strictest requirement once. PCI wants access reviews every six months; if you review quarterly, one control satisfies all three and you note which framework sets the floor.

Name the evidence source, not the evidence. Not a screenshot of the identity provider, but its access-review export, generated by the system, stored where it cannot be edited, retained for the audit period plus a margin.

Record the gaps and the conflicts. A requirement you do not meet goes in the mapping with a plan or a documented decision. A requirement you will not meet because it weakens security goes in with the rationale and the citation.

Give every control an owner who runs it. The engineering team that owns the identity provider owns the leaver control. Security owns the mapping and checks the controls run. If security owns every control, the controls stop when security is busy.

Compliance automation platforms that pull evidence from your cloud, identity provider and ticketing system save real time. They do not design controls, and their default control sets are another template to read critically. Questionnaires, the trust centre and scripted evidence are in customer trust and evidence automation.

Running an audit without letting it run you

Readiness. Run a gap assessment against the framework three to six months before you need the report (a rule of thumb; first audits slip). Decide scope early and keep it tight: the production system customers buy, not the whole company.

Choosing the assessor. For SOC 2 and ISO you choose; ask who will do the fieldwork, how they handle a control that differs from their library, and how many companies like yours they audit. For PCI, choose a QSA company from the Council’s list and agree the scoping approach before fieldwork.

Fieldwork. The auditor sends a request list, sometimes called a PBC (provided by client) list. They walk through each control with its owner, pick samples (for example, 25 changes from the population of 1,400), and test each one. Your job is that every sample has evidence already, and that owners can explain their control in their own words.

Exceptions. An exception in a Type II is not a failure of the report; it is a finding with a management response. Write the response honestly: what happened, the effect, what changed. Customers read these.

Day to day

Continuously. Evidence collects itself, or it does not exist. Your weekly check is a dashboard of control health: which automated checks failed, which recurring controls are overdue.

Weekly, thirty minutes. A compliance stand-up with the GRC analyst or compliance manager: customer questionnaires due, evidence gaps, scope changes from engineering. At a small company this meeting is you and a spreadsheet.

Per change. New systems, new vendors and new data flows go through a short scope check: does this touch card data, customer data, a regulated service? The PCI scope review in 12.5.2 is easier as a habit than as an annual archaeology project.

Quarterly. Access reviews (see identity, access and secrets), a control-owner review where each owner confirms their control still matches reality, vulnerability scan evidence (PCI DSS 11.3 requires internal and external scans at least once every three months; the triage behind them is in vulnerability management), and a report to engineering leadership: controls failing, exceptions open, audits coming.

Annually. Risk assessment, policy review and approval, ISO internal audit and management review, the SOC 2 period end and report, the PCI ROC, penetration tests, and the regulator’s self-assessment if you have one. Spread them across the year; four audits in one quarter consume the team.

When an incident happens. Compliance arrives with clocks: regulator notification windows, contractual notice to customers under DORA-style clauses, card brand notification through your acquirer. Put them in the incident playbook before you need them; detection and incident response covers the rest.

A security lead in a company with two or three frameworks typically spends a day a week on this outside audit season, rather more during fieldwork. If it is more than that all year, evidence is being collected by hand.

BY ORG SIZE
STARTUPunder 30 people

The first enterprise customer sends a 300-line questionnaire and asks for a SOC 2. There is no GRC person; it is the CTO or the first security-minded engineer. Get a Type I with a tight scope, then a Type II on a short first window. Use an automation platform, accept most of its default controls, and push back only where one harms security or does not fit how you work. Write the control mapping anyway, even as a single table, because it is the thing you will extend when the second framework arrives.

SCALE-UP30 to 300

Two or three frameworks now apply and a GRC analyst or compliance manager has been hired. The lead’s job is the operating model: one control set, owners in engineering teams, evidence from systems, and a scope boundary that product decisions respect. PCI or a regulator often arrives here, through a payments feature or a bank customer’s DORA clauses. The risk is that compliance becomes the security roadmap because it has deadlines. Keep a separate list of risks the frameworks do not cover and report both.

ENTERPRISE300 and up

A GRC team, internal audit and a second-line risk function exist, and there may be dozens of frameworks and regulators across countries. The problems are duplication, drift and politics: control descriptions written years ago that no longer match the systems, three teams testing the same control, a regulator finding that becomes a programme with its own budget. The security lead’s value is engineering truth: retiring controls that do nothing, automating evidence at scale, and making sure the risk register reflects real exposure rather than audit findings.

ARTEFACT Map one policy to three frameworks ~75 MIN
YOU PRODUCEControl mapping

Template

# Control mapping: <policy name>
Owner · Approved by · Version · Next review
Frameworks: SOC 2 (2017 TSC, 2022 points of focus) · ISO/IEC 27001:2022 Annex A · PCI DSS v4.0.1
Scope: <systems, environments, people covered>

## Policy statement
<The one to three sentences leadership approved.>

## Controls
| ID | Control statement (who, what, how often, scope) | Owner | Frequency | Evidence source and retention | SOC 2 | ISO 27001 | PCI DSS | Strictest requirement |
|---|---|---|---|---|---|---|---|---|
| XX-1 | | | | | | | | |

## Gaps
| Requirement | What is missing | Plan | Owner | By |
|---|---|---|---|---|

## Conflicts and decisions
| Requirement or request | Why we do not implement it as asked | What we do instead | Citation | Agreed with |
|---|---|---|---|---|

## Out of scope
- <system or framework requirement> — <why>
WORKED EXAMPLE

Linnet is a fictional payments processor: 220 people, card acceptance for 6,000 online merchants, about 2.5 million card transactions a year, up from under 200,000 eighteen months ago, ISO 27001 certified for its bank partners and SOC 2 Type II for enterprise merchants. Passing 300,000 Visa transactions a year made it a Level 1 service provider, so its first QSA-led ROC is due in nine months. The security lead mapped the access control policy first.

Policy. Access to production and the CDE is least privilege, authenticated with phishing-resistant MFA, and reviewed quarterly.

ID Control Owner Evidence SOC 2 ISO PCI
AC-1 Access granted only through an approved request naming the role Platform team IdP change log joined to ticket ID, retained 3 years CC6.2, CC6.3 5.15, 5.18 7.2.1, 7.2.2, 8.2.4
AC-2 HR termination disables the IdP account the same day IT HR-to-IdP sync log CC6.2 5.18 8.2.5
AC-3 FIDO2 MFA on all production and CDE access Platform team IdP policy export, monthly CC6.1, CC6.6 8.5 8.4.2, 8.4.3
AC-4 Resource owners review production and CDE access quarterly Each service owner Review export with removals CC6.2, CC6.3 5.18 7.2.4 (six months; quarterly exceeds)
AC-5 Inactive accounts disabled at 90 days IT Daily job output CC6.2 5.18 8.2.6

Gaps. Two legacy settlement servers accept SSH keys without MFA: owner platform team, fixed in eight weeks or segmented out of the CDE. Conflicts. The ISO policy template required 90-day password expiry. Linnet removed it: passwords are 14 characters minimum with breached-password screening, changed on evidence of compromise, and every in-scope login uses MFA, so PCI 8.3.9 does not apply. Citation: NIST SP 800-63B-4 3.1.1.2 and the PCI applicability note. Agreed with the ISO certification body at the surveillance audit.

Now you

You are the security lead at Twite, a fictional B2B messaging SaaS: 95 people, 40 engineers, 600 business customers who use its API to send customer notifications. Twite’s first SOC 2 Type I fieldwork is in ten weeks. Two of its largest prospects are European banks: one wants ISO 27001 alignment within the year, the other has sent DORA contract clauses with incident notification duties. A new card-payments add-on is planned for next year, which will bring PCI DSS. Today, changes reach production by merging to main; branch protection requires one review, but four engineers can bypass it, emergency fixes are deployed from laptops about twice a month, and nobody records the security impact of a change. Write the control mapping for Twite’s change management policy against SOC 2, ISO 27001:2022 Annex A and PCI DSS v4.0.1. Verify every ID you cite. Include the gaps, the emergency-change path, and what you will tell the banks.

Self-check

DECIDE

You lead security at Twite, ten weeks before SOC 2 Type I fieldwork. In the readiness review, the audit firm's senior associate flags a deficiency: Twite's password policy has no expiry, and the firm's control library expects 90-day rotation. Every employee logs in through the identity provider with a passkey or security key; passwords exist only as a fallback, screened against breached-password lists and changed on evidence of compromise. A bank prospect's questionnaire asks the same question. What do you do?

READING
  1. DOC
    2017 Trust Services Criteria (With Revised Points of Focus, 2022) AICPA

    The criteria a SOC 2 is tested against. Read CC6 to CC8 and notice how little they prescribe; that is the room you have to design your own controls.

  2. DOC
    ISO/IEC 27001:2022, Information security management systems ISO and IEC, 2022

    The standard's official page. Clauses 4 to 10 are the management system auditors certify; Annex A lists the 93 reference controls your Statement of Applicability must address.

  3. DOC
    PCI DSS v4.0.1 and the document library PCI Security Standards Council, 2024

    The standard, the self-assessment questionnaires, the ROC template and the customized-approach guidance. Read requirement 8 and the applicability notes before any password debate.

  4. DOC
    Do PCI DSS Requirements 8.3.9 and 8.3.10.1 apply to all system components? PCI Security Standards Council

    The Council's own answer that the 90-day rule does not apply where MFA is used. The citation to put in a control rationale.

  5. DOC
    NIST SP 800-63B-4, Authentication and Authenticator Management NIST, 2025

    Section 3.1.1.2 is the authority against periodic password expiry and composition rules. Know it well enough to quote when an auditor's template disagrees.

  6. POST
    Compliance vs. Security Phil Venables, 2020

    The best short argument that compliance is a necessary floor rather than the enemy of security, with seven practical ways to make it serve the programme.

  7. DOC
    Digital Operational Resilience Act (DORA) EIOPA

    A regulator's overview of Regulation (EU) 2022/2554 and its technical standards. Read it to understand what your bank customers must ask of you as an ICT provider.

  8. DOC
    Operational resilience Financial Conduct Authority

    The FCA's page on PS21/3: important business services, impact tolerances, mapping and scenario testing. The outcome-based model you will meet in UK finance.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Pentests, bug bounties and vendor risk →