SJB Consulting

← Insights · · 7 min

Security vs. Compliance: What We Want vs. What We Measure

Security is what we're trying to get. Compliance is what we're measured on. Most of the time they line up - and when they don't, organizations follow the one they're measured on.

Most of the time those two point in roughly the same direction, which is why nobody worries much about the gap. But they aren’t the same thing, and that mismatch is behind a lot of the problems I’ve seen over the years - it’s what gets us in trouble. When security and compliance drift apart, organizations almost always follow the one they’re measured on. That’s not because anyone is lazy or dishonest. It’s because the audit, the board report and the annual review (and bonus) all ask about compliance - so that’s what gets the attention, the budget and the green checkmarks.

The problem is that attackers don’t read your audit report.

How the gap opens up

The gap comes from what gets measured. Compliance frameworks are mostly very good at asking “is the control present?” and much weaker at asking “does the control work?” Presence is easy to prove - you show the config, the policy, the coverage report. Effectiveness is harder - you have to actually try to get past the control and see what happens. So presence becomes the thing that’s measured, and presence becomes the thing that’s managed.

There’s an old idea called Goodhart’s Law: when a measure becomes a target, it stops being a good measure. There’s also a famous (if often misattributed) quote that sums it up nicely: “Not everything that counts can be counted, and not everything that can be counted counts.” Security is full of examples once you start looking.

Phishing training completion is at 98%, which tells you people clicked through a module, not whether they’ll spot the next lure. Vulnerability scan coverage is 100%, but the scans run unauthenticated, so they can’t see most of what’s actually installed. MFA is “enabled for all users,” except for the service accounts and legacy protocols that were exempted on day one and are exactly what an attacker goes after - and they’re often the accounts with the most privileged access. Logging is “turned on everywhere,” and nobody has looked at the logs since the auditor did.

Every one of those passes an audit. Every one of them can leave you just as exposed as if the control weren’t there - and arguably worse, because now you believe you’re covered.

The tricky part is that nobody in these situations is doing anything wrong in the way most people think about it. The policies are usually sensible. The tools are real. The teams deploy what they’re told to deploy, and the auditors check what they’re supposed to check. The failure lives in the space between the requirement and the outcome, where nobody is looking.

What that looks like in practice

One example has stuck with me for years. A major financial services firm I worked with had a very reasonable policy: DLP applied to every outbound flow. If you’re a regulator or an auditor, that’s exactly the sentence you want to read - and the firm could (and did) prove it. Every outbound path was covered, every flow hit the policy, and the audit was a pass.

Over the period we looked at, millions of outbound posts went through that DLP policy, and the number of incidents logged was zero. Not a handful of false positives - zero.

Almost all of that traffic was SSL/TLS, and there was no decryption in place. The DLP engine was chugging along, inspecting every flow and seeing nothing but encrypted payloads - like hiring someone to read every outbound letter and only handing them sealed envelopes. There were no other guardrails around the policy: no requirement for decryption coverage, no testing to prove detection worked, and nobody asking why the number was always zero - just a lot of people impressed that it was. The firm was 100% compliant with its own policy and had effectively no data loss prevention on most of its traffic.

Compliant, not secure.

It’s a good illustration of a broader habit I’d love every security team to pick up: treat a suspiciously perfect number as a finding. Real environments are messy - users email spreadsheets to personal accounts, paste things into web forms and upload files where they shouldn’t. A control that never catches anything is usually a control that can’t see anything. A firewall rule that’s never been hit, an alert that’s never fired, an EDR policy that’s never blocked a thing - none of those prove you’re safe. They just tell you to go check. Either you have the most secure environment in the history of technology, or your monitoring is flawed - and one is a lot more likely than the other.

None of this means compliance doesn’t matter

Before anyone reads this as a security guy bashing compliance - it isn’t. For one thing, my wife is a compliance attorney, and I’d like to keep eating dinner at home and sleeping in my own bed at night. But in reality, I’ve seen what happens in organizations with no compliance discipline at all, and it isn’t pretty either.

Compliance does a lot of things security teams on their own are bad at. It gives you a common baseline so you’re not reinventing every control from scratch. It forces documentation, ownership and accountability - the boring stuff that turns out to matter a lot at 2am during an incident. It gives security a seat at the table and, frankly, a budget, because “the regulator requires it” moves money in a way that “trust me, this is risky” rarely does - and it gets attention at the C-suite and board level. A lot of the requirements exist because someone, somewhere, learned the lesson the hard way.

The issue isn’t compliance. It’s treating compliance as the finish line instead of the floor. Compliance tells you the minimum you’ve agreed to do. Security is about whether it actually works against someone who’s trying to get past it. The best organizations I’ve worked with use compliance as the starting point and then keep asking the next question.

Closing the gap

The fix isn’t to throw out compliance - it’s to stop letting “present” stand in for “effective.” A few things that help:

Write the policy around the outcome, not the control. “DLP applied to every outbound flow” describes a configuration. “Sensitive data cannot leave the network undetected” describes what you actually want. Outcome-based wording forces the harder questions - in the DLP case, it leads you straight to decryption.

Measure what the control can see, not just where it’s deployed. Coverage numbers tell you where a tool is turned on. Visibility numbers tell you what it can actually observe once it’s there - how many flows are decrypted, how many assets are scanned with credentials, how many accounts really require MFA. Where there are legitimate exceptions (and there always are - privacy carve-outs, legacy systems, apps that break), they should be deliberate and documented, not the accidental default.

Test it like an attacker would. Run synthetic sensitive data out through the paths that matter, run phishing simulations that look like real lures, try the exempted accounts. If you don’t regularly try to beat your own controls, you’re trusting the config screen.

Ask what’s invisible. For every control in your framework, someone should be able to answer “what does this tool actually observe, and what can’t it see?” If the honest answer is “most of it,” the control is just checking the box.

Report effectiveness up the chain. Boards and executives will keep asking about compliance because that’s what they’ve been taught to ask about. Give them both numbers. “We’re compliant, here’s what our testing shows the control actually catches, and here’s your real exposure” is a much more honest conversation - and it’s the one that gets the gap funded.

Why this matters even more with AI

I’ll come back to this in a lot more depth in future posts, but we’re at risk of repeating this exact mistake with AI. An agent with broad access can turn one bad decision into a chain of actions: reading sensitive data, calling tools and passing information between systems. If those actions happen automatically, the damage can accumulate before a person ever gets involved. The potential impact depends on what the agent can access and do—but broad permissions and fast execution can turn a familiar control failure into a much bigger problem.

The bottom line

Compliance tells you whether you did what you said you’d do. Security tells you whether it worked. You need both, but only one of them stops an attacker.

So the next time you see a perfect score on a report - zero incidents, 100% coverage, every box green - don’t celebrate right away. Go find out what’s actually behind the number.

If you’re working through this in your own environment, let me know - always happy to compare notes.

-Steve

Working through something like this? SJB Consulting advises on cybersecurity defensibility and AI governance. Start a conversation.