Skip to main content

AI data governance and PII controls — decide what AI may use

AI data governance starts with a specific permitted use, an accountable owner and enforceable access boundaries.

Approve fields before they reach the model

Meridian account Profile tags contact email and phone as PII beside the account identifier.
Inspect
Review the contact_email and contact_phone Tags and the 10,000-row profile snapshot.
Interpret
The assistant needs order facts and policy region. A PII label identifies a review concern; it does not remove the value.
Act
Approve a field allowlist, apply it in the source/application, and inspect the actual prompt payload.
Product-interface recreation with synthetic Meridian data; reviewer notes are explanatory, not automated controls.Open full-size visual ↗

A catalog entry, a PII tag or a successful model answer does not establish that a dataset is appropriate for AI. Decide which records and fields the application needs, where they may travel, who may retrieve them and how permission changes reach every downstream copy.

This chapter helps a data owner, privacy or security lead, and application engineer make that decision together. DataDios contributes source discovery, profiling, sensitive-field indicators, quality evidence and AI evaluation workflows where the connector supports them. Your organization must implement the required source permissions, application authorization, data minimization and release decisions; this guide does not claim that DataDios automatically enforces the whole process.

A realistic decision: a returns and order-status assistant​

Illustrative scenario, not a customer result. Meridian Supply is a distributor preparing an internal assistant for its support team. Customer and order records live in PostgreSQL, analytics in Snowflake, and returns policies in SharePoint. The assistant may explain an order's status and draft a policy-based response. A support employee approves the response; the pilot cannot issue refunds, change an address or promise an exception.

The useful question is not “Can the model see our customer table?” It is “Which facts may this employee use to answer this customer's question?” Account identifiers help retrieve the correct order, but payment details, personal notes and unrelated customers' records add exposure without helping this task. Analytics access does not automatically authorize operational customer access. A SharePoint connection does not, by itself, establish per-user permission inheritance through retrieval.

1. Write a permitted-use contract before connecting the model​

Use a short record that people can challenge. The following example belongs in the team's existing ticket, policy register or release record.

DecisionMeridian's illustrative contractEvidence to retain
PurposeDraft order-status and returns-policy answers for support employeesNamed business sponsor and approved tasks
Excluded actionsNo refund, address change, account mutation or contractual promiseApplication/tool permissions and negative tests
Permitted recordsAccounts the signed-in employee is authorized to supportAuthorization design and test identities
Permitted fieldsOrder reference, status, relevant dates, policy region and product classApproved field allowlist and source view definition
Excluded fieldsPayment details, personal notes and unrelated contact informationQuery/view inspection and representative output review
KnowledgeCurrent approved policies, with owner and applicability datesSource collection inventory and retired-document list
Failure behaviorEscalate when identity, policy applicability or source freshness is uncertainTest cases and support handling procedure
AccountabilitySupport owner accepts behavior; data owner accepts data; security owner accepts accessRecorded decisions, timestamps and review date

This contract makes scope measurable. “Employee can query everything, but the prompt says not to” is not an access control. Configure the application and source credentials for the approved operations. For sensitive workflows, explicitly test an authorized request and a denied request with different user identities and account scopes.

2. Discover sensitive fields, then verify what the application can expose​

In Data Explorer, inspect the relevant table's Profile where available. Review the snapshot timestamp, sample provenance, column types, nulls and Tags. A PII indicator is a useful investigation lead. It is neither exhaustive classification nor a transformation that removes the value.

For each field, record three separate decisions: sensitivity, necessity for the task, and approved treatment. A field can be non-PII but still confidential, such as negotiated prices. Conversely, an identifier may be necessary for an authorized lookup but unnecessary in the model prompt or diagnostic logs. Do not equate “no PII detected” with “safe to send.” Review free text, attachments and derived columns as well as obvious email or phone fields.

Apply the treatment in the system that actually serves the data. Examples include an approved source view, row-scoped application query, removal before prompt assembly, or a separately implemented redaction step. Test the resulting payload using synthetic records that would reveal accidental inclusion. Keep a reproducible query or payload example with the contract so a future schema change can be reviewed against it.

3. Keep authorization attached to retrieval​

A shared collection of general returns policies differs from customer-specific correspondence. Meridian's pilot uses a maintained policy collection that every pilot employee is permitted to read. Customer-specific records come through separately authorized application queries. This deliberately avoids treating a broad document connection as evidence of end-user access enforcement.

Select the policy source for the actual question

AI Studio Context Sources selects approved_return_policies while meridian_postgres and retired_policy_archive remain unselected.
Inspect
Ground answers with context sources is enabled and only approved_return_policies is selected.
Interpret
Connecting or indexing a source does not automatically attach it to this conversation. The model connection and context selection are distinct.
Act
Use the intended collection and version. Test access through the real application path; this selection alone does not prove per-user authorization.
Product-interface recreation with synthetic Meridian data; reviewer notes are explanatory, not automated controls.Open full-size visual ↗

OWASP's RAG security guidance recommends access checks at retrieval time and preservation of source permissions through the retrieval path. It also treats document deletion, retention, provenance and retrieved-content attacks as distinct concerns. Use these as design-review questions, not as a claim that a connector automatically supplies each control. OWASP RAG Security Cheat Sheet.

Before using restricted collections, verify the actual deployed behavior for these cases:

  • An employee requests another account's record, using both its name and a known identifier.
  • A document is removed or its permission is narrowed after indexing.
  • A previous conversation, cached result or diagnostic trace still contains now-restricted content.
  • A retrieved document contains instructions that conflict with the approved task.

A denied retrieval must not become a broader search under a more privileged connection. If permission propagation cannot be demonstrated, narrow the pilot to an approved common-access collection or keep the workflow out of production until the application boundary is implemented.

4. Build and inspect the maintained knowledge collection​

For an eligible document source, its owner opens Search index, enables Enable search index, configures the source's available fields and selects Save. Build now starts a build when needed; Builds shows status and progress. An enabled configuration is not proof of a ready build, and a ready build is not proof that the right documents were admitted.

Verify the collection and its serving build

Search index is enabled for approved_return_policies; a serving build shows ready and 100% completion.
Inspect
Inspect Enable search index, the serving build, ready status and the Build now / Save controls.
Interpret
Meridian maintains 108 current policies after retiring 12 versions. A ready build is processing evidence, not proof of useful or authorized retrieval.
Act
Sample current and retired-policy questions, inspect the retrieved content, and retain the source version and build record.
Product-interface recreation with synthetic Meridian data; reviewer notes are explanatory, not automated controls.Open full-size visual ↗

In Meridian's illustrative inventory, 120 policy documents include 108 current documents and 12 retired versions. The policy owner identifies which versions apply; the source maintainer removes obsolete material from the approved collection or separates its scope before indexing. After a change, verify what the application actually retrieves for representative questions. Do not assume that deleting a source document instantly removes all indexed, cached or conversational copies.

See the Knowledge Base walkthrough and data-preparation method for the indexing and content-quality steps. In AI Studio, selecting Context Sources and enabling Ground answers with context sources establishes the intended conversational context; it does not validate the answer or authorize every future use of the source.

5. Review release evidence and handle an exposure​

The release record should join the approved field list, permission tests, collection version, quality results, sensitive-output evaluations and named sign-off. NIST describes its AI Risk Management Framework as voluntary guidance for incorporating trustworthiness into AI design, use and evaluation. It is a useful governance reference, not a certification conferred by running these checks. NIST AI Risk Management Framework.

For Meridian, an answer containing another customer's information is a stop condition even if overall answer accuracy is high. The application owner stops the affected path, security assesses the exposed scope, and the data owner identifies whether the defect came from authorization, source preparation, retrieval or output handling. Follow the organization's incident procedure for containment and communications. Correct the boundary, rerun the failed case and adjacent negative cases, and document the decision to resume.

A small team can assign these responsibilities to two or three people and maintain one reviewed release record. An enterprise can use domain owners, central security standards and separate application release authorities. Neither needs to start by classifying the entire estate: begin with the data that one approved AI workflow can actually reach.

Product setup references​

For the current V2 interface, see Governance catalogs and business terms, roles, groups and permissions, and the shared Search index setup. Use the Knowledge Base walkthrough to inspect context selection and its boundaries.

Questions teams ask about AI governance and PII​

Does identifying PII make a dataset safe for AI?​

No. Identification tells you where to investigate. Safe use additionally depends on task necessity, authorization, minimization, retention and the actual payload delivered to the model. DataDios PII tags do not mask values or replace access controls; verify the serving view, query and prompt assembly separately.

Can we use the same model connection for every department?​

A shared connection is an infrastructure choice, not an authorization model. Establish which data each application and user may supply and retrieve, who can operate the connection, and how usage is attributed. If departments have incompatible access or retention requirements, resolve those boundaries before sharing a workflow.

Should PII always be removed before an AI workflow?​

Decide what the approved task requires. An authorized lookup may need an account reference, while the response-generation prompt may only need status and policy region. Minimize each stage separately. Obtain the relevant internal approval for necessary sensitive processing instead of assuming all identifiers must either be preserved or discarded everywhere.

Does a SharePoint connection preserve every user's SharePoint permissions?​

Do not assume that it does. Verify the deployed connector, indexing and retrieval path with allowed and denied identities. Until that behavior is demonstrated, use a collection whose readers share the approved access scope or enforce authorization in the application before retrieval. Source connectivity alone is insufficient evidence.

Can an AI evaluation prevent a sensitive-data incident?​

An evaluation can expose unsafe behavior in the cases you test. It does not prevent every future input or replace source authorization. Combine negative access tests, minimized context, explicit response checks and incident monitoring. A zero-failure test sample is evidence about that sample, not a universal safety guarantee.

What changes require another governance review?​

Review changes that expand reachable records, fields, users, model providers, tools, retention or source collections. Also review a new intended action: drafting an answer and issuing a refund have different consequences. Use a lightweight change record linked to the original contract so the team can see precisely what permission or behavior expanded.

Who should make the final release decision?​

Assign it before the pilot. The business owner accepts the task's remaining risk, the data owner accepts the source evidence, security accepts the access design, and the application owner operates the release. A DataDios dashboard can support that discussion; it does not substitute for the organization's accountable decision.

Continue with data preparation, evaluation and release, or the AI-readiness overview.

Review the data boundary for your AI use case