Skip to main content

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.

Governance page with the Completeness, Ownership and egress and Plant setting tabs
Governance page with the Completeness, Ownership and egress and Plant setting tabs

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):

SettingValues
OwnerFree text, at most 128 characters.
ClassificationPublic, Internal, Confidential, Restricted. A site defaults to Internal.
EgressInherit, 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​

PathWhat happens to a denied value
UplinksNot 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​

  1. Open Governance → Ownership and egress.
  2. Select a node in the tree.
  3. Set Owner, Classification and Egress.
  4. Save. The panel shows the result "In effect now".

Block by classification for the whole plant​

  1. Open Governance → Plant setting.
  2. Choose Block by classification and the classification, for example Confidential.
  3. 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 unitNumeric tags with no unit
Without ownerNodes with no owner
Not bound to a classEquipment not bound to an equipment class
No current valueTags 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 pathPurpose
GET, PUT /api/v2/model/governance/settingsPlant setting.
GET /api/v2/model/governance/effectiveEffective egress.
GET, PATCH /api/v2/model/governance/nodes/{kind}/{id}Owner, classification, egress of one node.
GET /api/v2/governance/completenessCompleteness checks.
GET /api/v2/governance/withheldWhat is withheld.
GET /api/v2/governance/catalog/exportData catalogue export.
GET /api/v2/lineage, GET /api/v2/kg/lineageData 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​

SymptomCauseFix
A value shows withheldA deny on the node or above it, or a blocking classificationCheck "In effect now" on the node.
Everything is withheldThe plant chain could not be read (fail closed)Check the Console and database.
An uplink sends nothing for one tagEgress denySee the "kept in the plant" counter.
Cannot change settingsMissing configure_devicesAsk an administrator.