Security · Governance

Compliance & Frameworks

What the standards actually require, why compliant is not the same as secure, and how engineers meet both.

Security
01

Compliant Is Not Secure

A framework is a floor, not a ceiling. Organisations pass audits and get breached in the same quarter, because an audit samples evidence that controls existed — not that they worked continuously against a real adversary.

The inverse is also true and worth saying: frameworks encode decades of hard-won practice. An organisation genuinely implementing one is meaningfully better defended than one improvising, and the discipline of writing controls down is itself valuable.

The engineer's job is to meet the requirement in a way that also reduces risk, rather than producing a document that satisfies an auditor and changes nothing.

02

The Frameworks You Will Meet

FrameworkScopeDriven by
ISO 27001An information security management systemInternational certification, often customer-required
SOC 2Controls over security, availability and confidentialityUS enterprise customers — usually sales
NIST CSFA voluntary framework: identify, protect, detect, respond, recoverSelf-assessment and structure
PCI DSSAnything touching cardholder dataCard schemes — mandatory, prescriptive
HIPAAProtected health information in the USLaw
GDPR / UK GDPRPersonal data of people in the EU and UKLaw, with substantial fines
ISO 27001 and SOC 2 both certify that you run a system of controls; they do not prescribe your architecture. PCI DSS is the outlier — it is specific about segmentation, encryption and key management, and its scope shrinks dramatically if card data never touches your systems.
03

Data Protection In Practice

GDPR is the one that reaches ordinary engineering work most often, and its practical obligations are concrete.

ObligationWhat it means in a system
Lawful basisA stated reason for every category of data you hold
Data minimisationDo not collect what you do not need — the cheapest control there is
Purpose limitationData collected for one purpose is not silently reused
Right of access and erasureYou must be able to find and delete one person across every store
Breach notification72 hours to notify the regulator once aware
Privacy by designConsidered at design time, not retrofitted
The right to erasure is an architecture requirement, not a policy one. If personal data is copied into logs, analytics, warehouses, backups and a vector index, "delete this person" becomes a project — which is why minimisation and knowing your data flows come first.
04

Controls, Evidence & Audits

A control is a stated practice; evidence is proof it operated. Audits sample evidence, so anything manual and undocumented tends to fail even when the practice is real.

ControlEvidence an auditor accepts
Access is reviewed quarterlyDated review records with approvals
Changes are peer reviewedPull requests with approvals and a protected branch
Backups are restorableRestore test results, not a backup schedule
Vulnerabilities are remediated in SLATicket timestamps showing time to fix
Only authorised staff have production accessIAM exports and joiner-mover-leaver records
The cheapest compliance strategy is automation. Controls enforced by the pipeline — branch protection, mandatory review, infrastructure as code, automated scanning — produce their own evidence continuously, so audit becomes an export rather than a scramble.
05

What This Means For Engineers

DoInstead of
Automate the controlDocumenting a manual process nobody follows
Log the evidence as a by-productAssembling screenshots the week before the audit
Know your data flowsDiscovering a copy of personal data during a subject access request
Treat findings as backlog itemsA separate compliance spreadsheet nobody reads
Push back on controls that add no safetyImplementing something that only satisfies a checkbox

The last one is legitimate and expected. Frameworks allow compensating controls — if a requirement does not fit your architecture, the answer is to propose an equivalent that achieves the same objective and document why, not to fake compliance with the letter of it.

06

Interview Questions

Why is compliant not the same as secure?

An audit samples evidence that controls existed during a period. It does not test them against a motivated adversary, which is why organisations pass audits and get breached in the same quarter.

ISO 27001 versus SOC 2?

ISO 27001 certifies an information security management system to an international standard; SOC 2 is an attestation report on controls, usually demanded by US enterprise customers. Both certify process rather than architecture.

What makes PCI DSS different?

It is prescriptive about segmentation, encryption and key management, and its scope shrinks dramatically if cardholder data never enters your systems at all.

Why is the right to erasure an architecture problem?

Personal data spreads into logs, analytics, warehouses, backups and indexes. Deleting one person across all of them is a project unless minimisation and data-flow mapping came first.

What evidence do auditors actually accept?

Artefacts produced by the system — pull request approvals, IAM exports, restore test results, ticket timestamps — rather than descriptions of a process.

What is a compensating control?

An alternative that meets the objective of a requirement your architecture cannot satisfy literally, documented with the reasoning. It is the honest route rather than faking the letter of the standard.

Quick Quiz

1. Passing an audit demonstrates…
2. PCI DSS scope is reduced most by…
3. GDPR breach notification is required within…
4. The best evidence that backups work is…
5. A requirement your architecture cannot meet literally calls for…