Governance
Governance is where you say who owns plant data, how sensitive it is and whether it may leave the plant. The same rules apply to every way data can leave: uplinks, AI assistants (MCP), public API keys and exports.

The page lead reads: "Who owns the data, how sensitive it is, whether it may leave the plant, and what is still missing." The tabs are Completeness, Ownership and egress and Plant setting.
How it works
You can set three things on each node of the plant model (Site, Area, Work center, Work unit, Equipment class, Equipment, Tag):
| Setting | Values |
|---|---|
| Owner | Free text, at most 128 characters. |
| Classification | Public, Internal, Confidential, Restricted. A site defaults to Internal. |
| Egress | Inherit, Allow, Deny. |
How the effective egress is decided:
- The setting is inherited down the plant model. A node with Inherit takes its parent's result.
- Allow never overrides a deny above it. The strictest setting along the chain wins.
- The UI shows what is "In effect now" next to what is "Set here".
- It fails closed. If the chain is unknown, incomplete or invalid, egress is denied.
- On the Plant setting tab, Block by classification blocks every node at or above the chosen classification from leaving the plant. Do not block by classification is the off option.
What egress covers
| Path | What happens to a denied value |
|---|---|
| Uplinks | Not sent. The uplink counters show "N kept in the plant". |
| AI assistants (MCP) | The object keeps its name and says withheld. No value. |
| Public API keys | "withheld": "egress_denied" and no value. |
| Exports (audit, history) | A withheld marker; no value. |
Withheld objects always keep their name; only the value is held back. The assistant tool mii_governance_withheld lists what is withheld and why, never the values.
Step by step
Set an owner, classification and egress
- Open Governance → Ownership and egress.
- Select a node in the tree.
- Set Owner, Classification and Egress.
- Save. The panel shows the result "In effect now".
Block by classification for the whole plant
- Open Governance → Plant setting.
- Choose Block by classification and the classification, for example Confidential.
- Confirm. Loosening a protection asks for a reason: "This makes the protection weaker... uplinks, AI assistants, public API keys and exports". Tightening says "This stops data leaving the plant".
Find what is missing
Open Governance → Completeness. The checks are:
| Check (UI) | Looks at |
|---|---|
| Without unit | Numeric tags with no unit |
| Without owner | Nodes with no owner |
| Not bound to a class | Equipment not bound to an equipment class |
| No current value | Tags with no fresh value |
Use the Data lineage dialog to see where a value goes: which rules, uplinks and other consumers use it.
Permissions
Reading needs read_config. Changing governance settings needs configure_devices. Scoped users see only the nodes they may access, and governance is a plant-wide view hidden from scoped users.
REST
| Method and path | Purpose |
|---|---|
GET, PUT /api/v2/model/governance/settings | Plant setting. |
GET /api/v2/model/governance/effective | Effective egress. |
GET, PATCH /api/v2/model/governance/nodes/{kind}/{id} | Owner, classification, egress of one node. |
GET /api/v2/governance/completeness | Completeness checks. |
GET /api/v2/governance/withheld | What is withheld. |
GET /api/v2/governance/catalog/export | Data catalogue export. |
GET /api/v2/lineage, GET /api/v2/kg/lineage | Data lineage. |
Limits and good practice
- Classify at the Site or Area and use Inherit below; override only where needed.
- Mark recipes, formulas and anything contractual as Restricted or Deny.
- Test with an AI assistant or an API key after a change: denied tags must show
withheld. - Egress rules guard the Console's own exits. They cannot control a model server or system that you connect yourself. See LLM connections.
- Process samples stay plant-local; governance controls the exits from the plant stack.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
A value shows withheld | A deny on the node or above it, or a blocking classification | Check "In effect now" on the node. |
| Everything is withheld | The plant chain could not be read (fail closed) | Check the Console and database. |
| An uplink sends nothing for one tag | Egress deny | See the "kept in the plant" counter. |
| Cannot change settings | Missing configure_devices | Ask an administrator. |