Governance and Security for Data and AI
Declare Policy Once, Enforce It Everywhere — Including for Agents
8 min read
Part of The Data Leader's Guide to Semantic Intelligence. Previous: One Business, One Number — and Why It Decays · Next: Platform-Native or Independent? →
The previous chapter dealt with keeping definitions true. This one deals with a different question: who may see and use what those definitions describe, and how that answer gets enforced when the askers now include software.
Most organizations answer the access question the same way they answered the definition question: separately, in every tool. The BI platform has its row filters. The warehouse has its grants. The spreadsheet extract has whatever protection the file inherits, which is to say none. Each system is individually defensible; collectively they guarantee inconsistency, because the same policy must be re-implemented, by different people, in systems with different capabilities, every time anything changes.
This is chapter 2's consumption-tier problem again, applied to access instead of definitions. Scattered copies of business logic produce metric drift; scattered copies of access policy produce something worse: a regional manager seeing another region's compensation data, or a contractor's dashboard quietly exposing the customer list, discovered, as these things are, after the fact.
Policy belongs where meaning lives
The structural fix mirrors the fix for definitions: declare policy once, at the layer every consumer already passes through, and enforce it there.
Because the semantic layer sits between data and all of its consumers, it's the one place in the stack where access control can attach to business meaning rather than to physical plumbing:
- Row-level rules scope which records a person sees. The EMEA lead queries the same "revenue by account" metric as the CRO and receives only EMEA accounts, not because someone built a filtered dashboard, but because row-level security travels with the metric itself.
- Column- and object-level rules govern which fields and concepts exist at all for a given role: salary fields hidden from everyone outside compensation, a sensitive product line invisible to partners, PII masked for analysts who need the shape of the data but not the identities.
- Role-based scoping means policy is written against durable things (roles, regions, sensitivity tiers) rather than against individual dashboards that multiply and individual users who churn.
The leadership-level payoff is a change of kind: policy stops being a property of each tool and becomes a property of the data's meaning. Adopt a new BI tool and it inherits the rules on day one. An auditor's question (who can see gross margin, and who actually has?) becomes a query against one system instead of an investigation across nine. For regulated businesses, this consolidation is usually the single strongest line in the semantic layer business case, because the cost of a gap is legal rather than reputational. A healthcare organization answering to HIPAA, a European operation under GDPR, a public company under SOX. Each already owes regulators a demonstrable account of who can access what and who did. Producing that account from nine tools' separate permission systems is a recurring archaeology project with a deadline attached; producing it from one layer's declared policy and unified logs is an export. The regulation doesn't change. The cost of proving compliance with it does, and so does the probability that the proof reveals a gap you'd rather have found yourself. That's data governance as architecture rather than aspiration.
Documentation fails here too: insufficiency #2
Chapter 2 argued that written definitions decay without a lifecycle. Access policy fails the same way, faster, and with higher stakes.
Every organization already has an access policy, in the security handbook, the data classification matrix, the onboarding deck. And every data leader knows the distance between that document and what the systems actually permit. The handbook says finance data is restricted; the warehouse grant added for one urgent request in 2024 says otherwise. Nobody reconciles the two, because nothing forces them to.
This is insufficiency #2: a semantic layer that defines meaning but doesn't enforce policy is documentation, and documentation does not stop a query. The test of governance is not whether the rule is written somewhere; it's whether the system serving the data applies the rule on every request, from every consumer, with no path around it. A definition layer without enforcement centralizes knowledge of what should happen while leaving what does happen scattered across tool-level settings. That is arguably the worst of both worlds, since the tidy central catalog makes the organization feel governed precisely when it isn't.
Enforcement at the semantic layer closes that gap mechanically. The layer is the path to the data, so policy applied there is policy applied, period. The second commitment of semantic intelligence, governance, is exactly this: meaning and the rules about meaning, developed, versioned, and enforced in the same place.
Then AI changed the consumer
Everything above held before agents. What agents change is the nature of the consumer on the other side of the policy.
A human consumer has a login, a role, a manager, and habits. Their access patterns are slow and legible: they open the same dashboards, run recognizable queries, and when something looks off, a person can be asked what they were doing. An AI agent has none of these properties. It composes novel queries at machine speed, on behalf of whoever invoked it, chaining data from sources no human would have thought to combine. Three consequences matter for governance design:
Agents inherit, and amplify, whatever access they're given. An agent wired to the warehouse with a service account that can read everything is a universal exfiltration interface with a chat UI. The convenient setup (one powerful credential, shared by the agent for all users) silently deletes every per-user rule your tools enforced, because the warehouse sees only the service account. Agent access has to be scoped to the requesting user's entitlements, evaluated at query time. The semantic layer is where that evaluation can happen, because it's where the agent's request meets the data.
Agents can't be trusted to respect intent. A human analyst who stumbles onto an unprotected salary table mostly knows not to put it in a slide. An agent doesn't know what it isn't supposed to notice; if data is reachable, it's usable, and it will be synthesized into an answer. With agents, the difference between policy and enforced policy stops being philosophical. Only the enforced kind exists.
Agent activity must be auditable in business terms. When a regulator, or your own security team, asks what an agent accessed and why, "here are 40,000 SQL statements from the service account" is not an answer. Because the semantic layer mediates agent access at the level of metrics and entities, its audit trail reads in the language of the business: which agent, acting for which user, asked which governed question, and what policy was applied. That trail is also what makes agent-produced numbers defensible after the fact, because the lineage from answer back to definition back to data is recorded, not reconstructed. (This is the governance half of AI-ready data; the semantics half is covered in its own guide.)
The timing argument matters for sequencing. Governance is dramatically cheaper to build in at the start of a semantic layer initiative than to retrofit after rollout; the first domain you model (chapter 6) should ship with its policy, not a promise of one. Organizations that treat governance as a later phase discover that "later" arrives as an incident.
What to ask for
As with the development lifecycle, the leader's job is to require properties, not design mechanisms:
- One policy, declared once. Access rules are defined against semantic objects (metrics, entities, fields) in one place, and every consumer inherits them. If a new tool requires re-implementing the rules, the rules aren't centralized.
- No unmediated paths for agents. Any AI agent that answers questions from enterprise data goes through the governed layer, with per-user entitlements evaluated per request. A direct warehouse credential for an agent is an exception with an expiry date and a named owner, not a pattern.
- Audit in business language. Access logs must answer who saw which business concept, when, under which policy, for humans and agents alike, without a forensics project.
- Governance ships with domain one. Policy is part of the initial build, exercised by the first users, so enforcement is proven on low-drama data before the sensitive domains arrive.
There's a fourth property this list quietly assumes: that the layer doing all this enforcing isn't owned by one of the vendors it's supposed to govern. Where your semantic layer lives (inside your data platform, or independent of it) determines whether "declare once, enforce everywhere" survives your next architecture change. That question has become the industry's loudest argument, and it's the next chapter.
See Semantic Intelligence in Action
Coginiti operationalizes business meaning across your entire data estate.