A vendor platform must satisfy security certification requirements while serving customers across many jurisdictions. How should compliance influence architecture without paralysing it?
Show the full answer Hide the answer
The failure mode to avoid
Compliance as a periodic project. Evidence gathered manually before an audit, controls demonstrated in a point-in-time review, and the intervening months operating differently. This is expensive, stressful, produces a certification that describes a state that existed for one week, and — most damagingly — makes engineers experience compliance as an interruption rather than as a property of the system.
The approach that works
1. Controls implemented as automation, evidence as a by-product. If access is granted through a system that logs every grant, the access review evidence is a query rather than a spreadsheet exercise. If deployments go through a pipeline that records approvals, the change management evidence already exists.
The design goal is that producing evidence should require no additional work, because evidence produced specially for an audit is evidence about the audit rather than about the system.
2. Preventive controls over detective ones for the highest-consequence requirements. A policy that prevents unencrypted storage is stronger and cheaper than a scan that finds it afterwards, and it does not generate a backlog.
3. Continuous controls monitoring. Automated checks that each control is operating, alerting when one stops. This turns "were the controls effective during the period" from a retrospective investigation into a dashboard.
4. Map controls to requirements once, across frameworks. Certification regimes overlap heavily. One control set mapped to several frameworks avoids implementing the same thing several ways, which is the largest avoidable cost in a multi-certification programme.
Where compliance genuinely shapes architecture
Some requirements are structural and must be designed in:
- Data residency, which constrains where data may be stored and processed, and therefore the deployment topology.
- Audit trails with attribution, a property of every write path and effectively impossible to retrofit.
- Segregation of duties, which shapes deployment and access models.
- Retention and deletion, which shapes storage design and requires crypto-shredding or equivalent to reconcile deletion with immutable backups.
- Encryption with customer-managed keys, which changes key management fundamentally.
Where it should not shape architecture
Most control requirements are satisfiable by many designs. Compliance should specify the property, not the mechanism. A requirement for access review does not dictate an access model; a requirement for change control does not dictate a deployment process.
The trap is a control interpreted so specifically that it prescribes an implementation — usually because an auditor saw one implementation elsewhere. Pushing back on that, with a description of how the property is achieved differently, is a legitimate and necessary part of the architect's job.