An AI governance platform records, assesses and reports, but it does not sit in the path of a request, so it cannot stop one. A gateway does. The sound design is to set hard policy at the gateway, send its logs back to the platform as evidence, and keep model-based checks as a second layer. This guide shows the three pieces and how they connect. It builds on our article on governance in the integration layer and our AI gateway implementation page.
Why the platform alone does not stop a request
Platforms hold the register, assessments, approvals and monitoring results. Even when a platform has a "block" setting, check where it takes effect: in the request path, or as an alert someone must act on. Ask the vendor to show a request being refused on your own sample, not a screenshot.
Policy at the gateway
Put the rules that must always hold at the gateway, where every call passes:
- Identity: every call carries a workload or user identity. No identity, no call.
- Allowed models: only models in the register, at approved versions.
- Data classes: block calls that carry data above the approved sensitivity.
- Limits: rate, size and cost caps per application.
- Tools: which tools an agent may call, and with what arguments.
Policy in the gateway takes its input from the register: the approved model list and tier of each application. Decide which system is the master. We recommend the register as master for what is approved, and the gateway as master for what happened.
Sending logs back as evidence
The gateway log is the evidence that policy ran. Send to the platform, per call or in daily summaries:
| Field | Use as evidence for |
|---|---|
| Application and owner | Which register entry made the call |
| Identity | Who or what was allowed |
| Model and version | That only approved models ran |
| Policy decision and rule | That the rule fired and which rule |
| Outcome and time | Volume, blocks and trends |
| Data class | That sensitive data stayed in bounds |
Do not store prompts and outputs in the evidence trail unless a control needs them; if you must, apply retention and access limits. Map each field to a control in the register so a reviewer can follow it. For the register itself, see what a register must hold.
Deterministic stops vs model checks
| Check type | Example | Strength | Limit |
|---|---|---|---|
| Deterministic rule | Block a model not on the list | Always the same result; easy to test | Cannot judge meaning |
| Model-based check | Classify a prompt for injection | Handles content and intent | Can be wrong; needs measuring |
| Human review | Approve a high-impact action | Judgement and accountability | Slow; sampling only |
Use rules for everything that can be a rule, and treat model checks as an extra layer that you measure. See prompt injection controls for AI agents for where each fits. A control that exists only in a prompt is not a control.
Connection steps
- List the policies in the register that the gateway must enforce.
- Write each as a rule the gateway can run, with a test case.
- Send gateway logs to the platform on a schedule, and confirm they arrive.
- Compare gateway applications with the register each month.
- Test: add an unapproved model and confirm it is refused and the refusal is logged and visible in the platform.
- Record the test as evidence.
Related patterns: Azure API Management as an AI gateway and MCP server security.
A worked example (illustrative)
A bank approves an assistant that calls one hosted model. The register lists the model and version, the owner and the allowed data class. The gateway has a rule: calls from this application may reach only this model, carry only data up to "internal", and be at most a set size. One day a developer points the application at a newer model. The gateway refuses the call, logs the rule that fired, and the platform shows a failed policy event against the register entry. The owner either files a change for the new model or reverts. The record of the refusal, the change and the approval is the evidence. Without the gateway rule, the same change would have run until someone noticed it in a monthly review.
Failure modes to test
Test what happens when the log feed stops, when the platform is down, and when the gateway cannot reach the policy source. Decide in advance whether the gateway fails closed or open for each application tier, and record that decision in the register. High tier should fail closed.
Ownership of the connection
Name one owner for the feed between gateway and platform, because feeds fail quietly. Add an alert for the case where the platform has received no gateway logs in a day, and review the alert monthly. The connection is itself a control and belongs in the register.
Questions we hear
Do we need both? If you run AI that makes or shapes decisions in a regulated firm, usually yes. One records, the other enforces.
What if the platform has no connector? Export logs to a store the platform can read, or build a small feed. Do this in the proof, not after.
Duczer East builds the gateway policy and the evidence feed together. See AI gateway implementation.



