# On-Premises Deployment & Audit Log Schema

Canonical URL: https://naditu.com/docs/deployment-and-audit
Section: 05 · On-Prem · OTel

Naditu is deployed on-premises on Linux servers or Kubernetes clusters you control. Operational databases, ontology definitions, credentials and audit logs stay inside your network boundary, with cloud LLM connectivity under your own provider agreement—or fully air-gapped with local models when required.

- **Runtime footprint:** Customer-owned Linux VMs or Kubernetes inside your VPC / data center
- **Secret custody:** Customer KMS / Vault · zero multi-tenant SaaS database storage
- **Observability:** Structured JSON + OpenTelemetry OTLP export to your SIEM

## What stays inside your servers and what crosses the boundary (#network-boundary)

In an Enterprise deployment, Naditu runs entirely inside your network perimeter. Source systems are never exposed to the public internet, and Naditu engages zero third-party data-hosting subprocessors for your operational records.

By default, only the minimal permission-checked records required to answer a verified caller’s question cross outbound to the enterprise AI provider you contract with (such as Anthropic Claude, OpenAI or Azure OpenAI). Organizations requiring zero external egress can pair Naditu with self-hosted models inside an air-gapped enclave.

| Artifact or data stream | Location | Crosses customer boundary? |
| --- | --- | --- |
| Full ERP, CRM, MES & WMS tables | Customer databases & read replicas | Never — queried in place, zero bulk export |
| Ontology graph (objects, links, terms, policies) | Customer-hosted Naditu instance | Never — stored and versioned on-prem |
| Database credentials, OAuth secrets & TLS keys | Customer Vault / KMS secret store | Never — rotated on your schedule |
| Withheld rows & closed payroll/HR tables | Filtered / blocked pre-serialization | Never — excluded before MCP response |
| Governed answer slice for permitted caller | Returned over MCP to chosen AI client | Only to the AI service under your own contract |
| MCP & write-gate audit trail | Customer SIEM / OTel collector | Never — stays inside your security monitoring |

## Read-only replica accounts and customer-managed keys (#replica-and-keys)

To guarantee that an AI query can neither contend with OLTP locks nor mutate operational tables, Naditu connects to SQL Server Always On readable secondaries, PostgreSQL streaming replicas, Oracle Active Data Guard standbys or SAP HANA read-scoped schemas with statement timeouts and row caps enforced.

All connection strings, OIDC client credentials and disk encryption keys are injected at runtime from your own secret manager (HashiCorp Vault, AWS/Azure/GCP KMS in your private cloud, or Kubernetes External Secrets) and never leave your environment.

- **SELECT-only on scoped schemas + statement timeout (`Least-privilege DB role`):** Database users granted to Naditu lack INSERT, UPDATE, DELETE, DDL and closed-table privileges at the RDBMS engine level as a second line of defense.
- **Your schema and records never train Naditu models (`Zero model training`):** Naditu trains no foundation models on customer schemas, prompts or query results, backed by contractual Enterprise DPA commitments.

## OpenTelemetry spans and SIEM audit log schema (#otel-siem-schema)

Every MCP tool invocation, policy dry-run, closed-table refusal and write-gate approval emits a structured JSON audit event correlated via W3C traceparent with your upstream MCP gateway and agent harness.

Security operations teams stream these events over OTLP or syslog directly into Splunk, Microsoft Sentinel, Elastic, Datadog or QRadar for real-time alerting on denied access attempts and full forensic lineage.

### OTLP / SIEM structured audit event schema (naditu.audit.v1)

```json
{
  "schema": "naditu.audit.v1",
  "timestamp": "2026-12-04T14:22:09.114Z",
  "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
  "deployment_mode": "on_prem",
  "mcp": {
    "protocol_version": "2026-07-28",
    "transport": "streamable_http",
    "tool": "search"
  },
  "caller": {
    "actor_class": "human_assistant",
    "subject_hash": "sha256:9f86d081884c7d65",
    "role": "sales.emea",
    "idp_groups": "okta:group:sales-emea"
  },
  "ontology": {
    "version": "v14",
    "objects_resolved": "Customer, Order, WorkOrder",
    "joins_evaluated": 4
  },
  "enforcement": {
    "verdict": "allowed_with_masks",
    "rows_returned": 1,
    "rows_withheld_by_policy": 1,
    "columns_masked": "Item.unit_cost",
    "closed_tables_blocked": 0,
    "erp_write_executed": false
  },
  "performance": {
    "replica_query_ms": 118,
    "policy_eval_ms": 9,
    "total_ms": 184
  }
}
```
