Compliance

Compliance vs Security: Why Passing an Audit Is Not Being Safe

Key takeaways
  • Compliance answers "can we demonstrate conformance to this standard". Security answers "can someone break in". Different questions.
  • The three gaps are timing (point-in-time vs continuous), scope (audit boundary vs attack surface), and depth (control exists vs control works).
  • Compliance is not theatre - it forces a baseline most teams would otherwise defer. It is just not a security verdict.
  • The honest test of security is adversarial: did someone try to break in and fail, not did someone tick a box.

Compliance is the ability to demonstrate, to a third party, that you conform to a defined standard over a defined period. Security is whether your systems actually resist attack. They are correlated and they are not the same measurement, which is why a company can hold a clean report and be breached in the same quarter without either fact being fraudulent.

This gets written up either as "compliance is theatre" or as "compliance means you are secure". Both are wrong, and in opposite directions.

Where the two come apart

Three gaps, and they are structural rather than the result of anyone cutting corners.

Timing. An audit describes a period that has ended. Security is a property of the system as it is right now, and the system changed several times while you were reading this. A report is accurate about the past; an attacker is interested in the present.

Scope. An audit covers what was in scope. Attackers do not agree to a scope. The forgotten staging environment, the internal admin tool that ended up internet-facing, the legacy API kept alive for one client - all outside the boundary, all reachable.

Depth. A control can exist, be documented, be evidenced, and still not work. "Access is restricted to authorised users" is satisfied by a role check on the user interface, and defeated by an API endpoint that accepts an object identifier without checking who owns it. The control passes the audit and fails the attack.

The difference in one line: compliance asks whether a control exists and can be evidenced. Security asks whether the control holds when someone attacks it. Only the second question has an adversary in it.

What compliance genuinely buys you

It is worth being fair here, because the cynical framing is popular and lazy.

Compliance forces a baseline. Access reviews, offboarding, change control, logging, backups and training are boring, unglamorous, and enormously effective - and most teams defer them indefinitely without an external deadline. Frameworks supply the deadline.

It also creates accountability. Named owners, review dates, and an outsider who will ask. And commercially it is simply the entry ticket: no report, no enterprise deal, regardless of how good your security actually is.

What it does not do is answer the question a board thinks it is asking when it sees a clean report.

Where the two overlap most usefully

The most valuable work sits where both care about the same thing.

ActivityCompliance valueSecurity value
Access reviews and offboardingCore evidence itemRemoves the most-used attack path
Vulnerability managementEvidence of a processActually closes known holes
Penetration testing with a retestExpected evidenceThe only adversarial check
Logging and monitoringRetention requirementHow you detect and investigate
Tested backup restoresEvidence itemSurvives ransomware

Notice that each of these produces audit evidence as a BY-PRODUCT of doing something real. That is the shape to aim for. The inverse - work that produces evidence and nothing else - is where the theatre accusation earns its keep.

How to keep both honest

Do the security work for security reasons, and let the evidence fall out of it. Then, separately, ask the adversarial question on a cadence that matches how often you deploy rather than how often you are audited.

That is the practical difference between the two programmes. A compliance calendar is annual because audits are annual. An attacker arrives whenever you shipped something, which is why testing triggered by a deploy rather than a date answers the security question and an annual report does not.

If you are working out what your framework actually demands, as opposed to what vendors claim it demands, we keep that mapped per framework - including the cases where the honest answer is "expected, not required".

Frequently asked questions

What is the difference between compliance and security?

Compliance is the ability to demonstrate conformance to a standard over a defined period. Security is whether your systems actually resist attack. Compliance asks whether a control exists and can be evidenced; security asks whether it holds when someone attacks it.

Can a company be compliant and still get breached?

Yes, routinely, and without anyone having cheated. An audit describes a period that has ended, covers only what was in scope, and tests whether controls exist rather than whether they survive attack. All three gaps leave room for a real intrusion.

Is compliance just security theatre?

No. Compliance forces a baseline most teams would otherwise defer indefinitely - access reviews, offboarding, change control, logging, tested backups - and supplies the deadline and the accountability. It simply is not a verdict on whether you can be broken into.

How do I get both compliance and real security from the same work?

Choose activities where the audit evidence is a by-product of something genuinely useful: access reviews, vulnerability remediation, penetration testing with a retest, monitoring, tested restores. Work that produces evidence and nothing else is where the theatre criticism is fair.

Related posts
Compliance How to Prepare for a Security Audit Compliance SOC 2 vs ISO 27001: Which One Do You Actually Need? Compliance Risk Assessment for Compliance: How to Do One Auditors Accept
Back to all posts