AI Governance for Regulated Products: A Practical Framework

Every regulated SaaS is bolting an LLM onto its product, and most haven't traced what that does to their compliance boundary. AI governance is the operational discipline that keeps AI features in scope: where the risk lives, the five controls that contain it, the evidence that proves they work, and what enterprise buyers will ask — with links to the deep dive for each.

Template included

AI feature governance checklist

Copy as markdown to paste into your repo, or download a branded PDF for sharing with non-technical stakeholders.

Download PDF

What is an AI governance framework, and what does a practical one look like for a regulated product? An AI governance framework is the set of controls, records, and decision gates that keep your AI features inside the compliance boundary you already built for SOC 2 or HIPAA — data-flow mapping, signed agreements with the model vendors, retention and training controls, human oversight on consequential output, and model/version tracking, each producing evidence an auditor or buyer will accept. It is not an ethics manifesto or a standing AI committee. It is the same operational discipline you apply to any system that touches regulated data, extended to a component that happens to be a probabilistic model behind someone else’s API.

This is the hub for the AI section of our library. Each part below is the map; the linked deep dives are the terrain. AI features don’t sit in a separate regime — they fall squarely under the SOC 2 and HIPAA umbrella you’re already carrying, so if you’re new to that machinery, start with the complete SOC 2 readiness guide and come back. Governance is what you add so the AI feature doesn’t quietly reopen everything that guide had you close.

Where does AI actually create compliance risk?

An AI feature creates risk in four specific places, and none of them show up in a demo. The demo shows a clean input and a useful output. The audit, the customer security review, and the breach investigation show the four things happening underneath.

  • The LLM provider is a new sub-processor. The moment your app calls a model API with customer data in the payload, that vendor is processing regulated data on your behalf — the same relationship you have with AWS or your database host, and it carries the same obligations. Vet it the way you’d vet any vendor with standing access to sensitive data: run it through the vendor risk scoring rubric, score the data sensitivity and access depth honestly, and put it on your public sub-processor list. An undisclosed AI sub-processor discovered mid-review is one of the fastest ways to lose a deal.
  • The PHI/PII boundary moves to wherever the prompt goes. Whatever context you assemble to send the model — the chart note, the record, the message — is now leaving the systems you spent a year putting inside your compliance boundary. If you’re on the healthcare path, the boundary you drew in minimum-viable HIPAA on AWS just grew an outbound edge, and the minimum-necessary principle applies to prompts as much as to database queries.
  • Retention and training-on-your-data. Your data doesn’t just transit the vendor; it may be retained by them, and on some tiers used to improve their models. This is the risk that turns “we sent one prompt” into “our customer’s data is in a training corpus.”
  • Prompt and output logging. Your app logs the prompt for debugging, your observability stack captures it in a trace, your eval pipeline saves inputs and outputs to measure quality — and every one of those is now a regulated-data store you never architected, usually with the wrong retention and the wrong access controls.

The discipline that catches all four before you ship is a pre-flight run per feature. The tactical version — four gates, answered in order, any failure blocks the ship — is adding AI features without breaking your compliance posture. Governance is what makes that pre-flight a standing control instead of a one-time heroics.

What goes into an AI governance framework?

Five controls, and each maps to a risk above. This is the whole framework; everything else is elaboration.

  1. Data-flow mapping. For every AI feature, trace every field that enters the prompt, where it came from, where the response is written, and where any of it is logged. You can’t govern a data flow you haven’t drawn. The map is also the artifact that answers half of a buyer’s questions before they ask.
  2. Signed BAAs / DPAs with model vendors. No PHI into a prompt without a Business Associate Agreement; no personal data into one without the DPA your privacy commitments require. This is the gate that stops most teams cold because it’s the one usually skipped. “We’ll get the BAA later” is how regulated data ends up somewhere it can never be recalled from.
  3. Retention and no-training terms. Confirm in writing that the vendor does not train on your inputs, set the vendor’s retention of your data to something you can defend, and re-verify on a schedule because AI vendors change terms far more often than infrastructure vendors do.
  4. Human-in-the-loop on consequential output. The more consequential the output, the more the human has to be in the decision, not merely notified of it. Draft, don’t decide; surface, don’t act. This is your best defense against the confidently-wrong answer you didn’t catch in testing, and it’s the control buyers probe hardest.
  5. Model and prompt version tracking. Pin dated model snapshots rather than moving aliases, keep prompt templates in version control behind reviewed pull requests, and record which versions were live per request. This is what makes “what was running on March 14” answerable and folds AI behavior into your existing change-management control.

The framework earns its keep only when each control leaves a trace. Governance you can’t produce evidence for is a story, and stories fail Type II audits. Map every control to the artifact that proves it:

Risk areaControlEvidence
Model vendor as sub-processorVet and score the vendor; sign a BAA/DPA; list on the public sub-processor pageExecuted agreement; sub-processor page entry; vendor risk score on file
PHI/PII in the promptData-flow map; minimum-necessary field review; de-identify where a BAA isn’t possibleData-flow diagram; field-level review sign-off per feature
Training on your inputsContractual no-training term; retention set deliberately; quarterly re-verificationVendor-terms excerpt; “last verified” date; calendar cadence
Prompt / output loggingContent-free traces; scoped encrypted store for anything retained; deliberate retentionTrace schema; retention config; a log sample showing shape, not content
Model / prompt driftPinned dated snapshots; prompt templates in git via reviewed PR; eval on every changePer-request model id; git log of the template; eval history keyed by version
Confidently-wrong outputHuman-in-the-loop on consequential output; low-confidence flaggingHuman-review records linked to a trace id; a coverage query returning zero unreviewed
Model version changeTreat an upgrade as a change with an approval and an eval runMerged-PR approval; before/after eval scores

Read the evidence column and notice what it is: the same access, change-management, and logging evidence your SOC 2 or HIPAA program already produces, pointed at a new component. That’s the load-bearing idea. You are not standing up a parallel compliance regime for AI — you are extending the one you have.

How do you prove the framework works?

You prove it with provenance and process, never with stored content — and that distinction is the whole design. When an auditor is in fieldwork with your AI feature in scope, or a buyer’s security team runs the diligence call after the questionnaire, the questions converge: what data did the model see, who approved the output before it took effect, what model and prompt version were live on a given date, how do you know quality isn’t degrading, and what happened during the incident on X. Every one of those is answerable from metadata.

The mechanism is a content-free trace: one record per request carrying request and tenant ids, timestamp, the pinned model id, the prompt-template version, keyed hashes of each variable input (so you can prove provenance without keeping a second copy of the data), token counts and flags, and the downstream decision — auto-applied, sent to human review with the review id, or discarded. Pair that with human-review records treated as first-class data and a scheduled eval history, and you can answer the diligence call with a query instead of a scramble. The full trace schema, the retention traps, and the reason full prompt logs are the wrong answer are in proving your AI features work: auditability for LLM systems. The short version: the team that logged everything has eighteen months of PHI-soaked prompts they legally can’t hand over, and the team that logged nothing has claims with no artifacts. Content-free traces are the hand that beats both.

The reason the “log the shape, not the content” rule matters twice over is that it’s the same rule that keeps request bodies out of your logs generally — the discipline in securing PHI in observability data, extended one layer up to keep prompts out of your traces.

What will enterprise and healthcare buyers ask?

They’ll ask five clusters of questions, and they aren’t testing whether your AI is flawless — they’re testing whether you’ve thought about the AI-specific risks well enough to answer honestly. A CISO doesn’t expect your Series B to have a formal AI governance board. They expect you to know where the data goes, who the model vendor is, and what happens when the model is confidently wrong.

The clusters: data handling (do you train on our data, where do prompts go, what’s the retention), vendor and sub-processor (which provider, BAA or DPA in place, are they on your list), output safety (can the AI act irreversibly, is there human review, how do you handle hallucinations), isolation (is our data isolated at the model layer, could it surface in another tenant’s output), and governance (who approves AI features, what’s the incident plan for a harmful output). The pre-filled answer bank — fifteen of the most common questions with defensible answer patterns — is in what enterprise buyers actually ask about your AI features. Every good answer there is a claim your governance framework has already made true and can prove; the questionnaire is just where the framework becomes visible to the person writing the check.

Notice the loop the cluster closes: the buyer’s questions map one-to-one onto the five controls, and the auditability evidence is what makes each answer defensible. Build the framework and the questionnaire answers itself. Skip it and every deal re-litigates the same five themes from scratch.

The good-enough bar

The bar for a 10-80-engineer regulated SMB is legibility, not sophistication. You do not need an AI ethics board, a governance platform, or a research team red-teaming your prompts. You need to be able to, for any AI feature, name the model vendor and show the signed agreement, produce the data-flow map, demonstrate that prompts are logged as shape and not content, and prove a human reviews anything consequential. If you can do those four things on demand, you clear the bar that keeps you out of a breach notification and through a security review.

The teams that get this wrong aren’t reckless. They’re moving fast on a feature that looks like every other feature and isn’t — one that added a sub-processor, moved a data boundary, and created a log store, all in a single sprint. The framework is cheap precisely because it turns those invisible changes into a visible, answerable checklist, run before the feature ships instead of after the audit finds it.

The Template

An AI feature governance checklist. Run it before every AI feature that could touch regulated data, and re-run it per feature and per vendor — the BAA you signed for the summarization feature doesn’t cover the new vendor you’re using for embeddings. Score each item yes / no / not-applicable; any no on a required item blocks the ship until it’s resolved.

Data flow (map it first)

  • Traced every field that enters the prompt; confirmed it’s the minimum necessary
  • Confirmed no PHI/PII in URL parameters, feature flags, or analytics events for this feature
  • Traced the response path; confirmed output isn’t written anywhere out of scope
  • Data-flow map recorded and attached to the feature

Vendor + agreements

  • Model vendor scored on the vendor-risk rubric before access was granted
  • BAA signed with the vendor (or PHI is de-identified before it leaves our systems)
  • DPA in place where personal data is involved
  • Vendor added to the public sub-processor list
  • Data-use terms reviewed: confirmed no training on our inputs, opt-out verified in writing
  • Vendor’s retention of our data documented and acceptable

Logging + retention

  • Prompts + responses are NOT logged as content to general application logs
  • Traces are content-free (ids, versions, hashes, flags, decision)
  • Anything retained lives in a scoped, encrypted, in-boundary store with production-grade access controls
  • Retention period set deliberately, not left at the vendor default

Output safety + oversight

  • Consequential outputs have a human in the decision, not just a notification
  • Low-confidence / flagged outputs are surfaced and logged
  • Users can tell the content was AI-generated
  • A documented plan exists for when the model is confidently wrong

Versioning + change management

  • Model version is a pinned dated snapshot, recorded per request (no moving aliases)
  • Prompt templates live in version control and change via reviewed PR
  • A model or prompt change triggers an eval run with a promotion threshold

Evidence + ongoing

  • Every control above maps to a produced artifact (agreement, map, trace, review record, eval history)
  • Human-review coverage is queryable: consequential outputs with no linked review = 0 rows
  • This feature is in scope for the next access review + evidence pipeline
  • A re-review triggers when the vendor changes terms or we change the data flow

The checklist takes about an hour per feature. The alternative — an undisclosed sub-processor, an out-of-scope PHI log, and an unanswerable “prove it” during a customer’s diligence call — takes a lot longer and usually costs the deal.

Frequently asked questions

What is an AI governance framework?

An AI governance framework is the set of controls, records, and decision gates that keep your AI features inside the compliance boundary you already maintain for SOC 2 or HIPAA. In practice it is five things: mapping the data flow of every AI feature, signing BAAs or DPAs with the model vendors, controlling retention and confirming they don't train on your inputs, putting a human in the loop on consequential output, and tracking model and prompt versions. For a regulated SMB it is not an ethics committee or a written manifesto — it is the same operational discipline you apply to any system touching regulated data, extended to a probabilistic component behind someone else's API, and it only counts when it produces evidence an auditor or buyer can verify.

Is OpenAI or ChatGPT HIPAA compliant?

No product is HIPAA compliant on its own — compliance is a property of how you use it, and for a model vendor it turns on a Business Associate Agreement. If protected health information goes into a prompt, the model vendor is processing PHI on your behalf and HIPAA requires a signed BAA, the same as it does for AWS or your database host. The major providers offer BAAs, but not on every tier and not by default: an API customer who requests one and meets the terms can typically sign, while the consumer ChatGPT product does not qualify. Without a BAA you have two honest options — de-identify the data before it leaves your systems, or don't build the feature that way.

Can LLM vendors train on your data?

It depends on the product tier and the terms, which is exactly why you have to read them rather than assume. For most enterprise API tiers the answer is no training and opt-out by default, but the default varies by product and the terms change more often than your database host's do. Get the no-training commitment in writing, add the vendor to your sub-processor list, and put a recurring reminder on the calendar to re-verify the terms — a default that quietly flips from 'no training' to 'training unless you opt out' does not send you an email, and it turns a true questionnaire answer into a false one.

How do you make an AI feature SOC 2 compliant?

Treat the AI feature as a change subject to your existing controls, not a special case. That means the model vendor is vetted and added to your sub-processor list, prompt templates change through reviewed pull requests so your change-management control covers AI behavior, prompts and responses are logged as shape rather than content so you don't create an out-of-scope data store, model versions are pinned and recorded per request, and consequential outputs have a documented human review. The point is that none of these are new controls — they are your existing access, change-management, and logging controls applied to a new component — and each one has to produce the same kind of evidence the rest of your SOC 2 scope does.

How do you prove an AI feature works to an auditor?

With provenance and process, never with stored content. Auditors and buyers converge on a handful of questions — what did the model see, who approved the output, what version was live on a given date, how do you know quality isn't degrading — and every one is answerable from metadata. The mechanism is a content-free trace: one record per request carrying ids, model and prompt versions, keyed hashes of the inputs, flags, and the downstream decision, plus human-review records and a scheduled eval history. Handing over full prompts built from patient records is an impermissible disclosure and the wrong answer; the right answer is a query against traces and review records that returns zero unreviewed consequential outputs.

What do enterprise buyers ask about AI features?

The AI section of a security questionnaire clusters into five themes: data handling (do you train on our data, where do prompts go, what's the retention), vendor and sub-processor (which model provider, is there a BAA or DPA, are they on your list), output safety (can the AI take irreversible action, is there human review, how do you handle hallucinations), isolation (is our data isolated at the model layer, could it appear in another tenant's output), and governance (who approves AI features, what's the incident plan for a harmful output). Buyers aren't testing whether your AI is flawless; they're testing whether you've thought about the AI-specific risks well enough to answer honestly in a few specific sentences.

Shipping AI into a regulated product?

The model vendor is in your audit scope the moment PHI hits the prompt.

AI governance for a regulated SMB isn't a policy document — it's data-flow mapping, signed vendor agreements, content-free logging, and human gates that hold up in an audit. When the feature needs to ship without reopening your HIPAA or SOC 2 posture, talk to us.