Prerequisites
- A project with a working telemetry source (traces)
- For rule matches and stored evaluations: the OpenLIT intelligence ClickHouse binding for the environment
- Optional: a prior AI Analysis run so Otter
prompt_injection/tool_misusefindings can merge into the same report
Governance tab on a trace
- Open a trace from Telemetry → Traces (or from a widget / Otter pill).
- In the hierarchy explorer, select the Governance tab (shield icon).
- Review:
- Risk summary and session metrics (spans, tools, errors, cost when reported)
- Security & policy findings (deterministic checks + evaluation fails + Otter security dims when available)
- Matched rules with links into the Rule Engine
- Policy controls mapped to NIST AI RMF, EU AI Act, and OWASP ASI categories
- Evaluations stored for spans in the tree
- Click a span chip to jump selection in the hierarchy.
- Use Export JSON to download a passport envelope (schema version,
report_id, report body).
report_id. Stamp the same value on CI or release metadata with the OpenTelemetry attribute openlit.governance.report_id when you want exports correlated to a build.
What the report includes
Large trees may truncate rule evaluation and evaluation queries; the UI shows a truncated note when that happens.
Extending policy pack coverage
Policy control mappings live as one file per framework under the OpenLIT client:control_id, title, finding_categories, optional min_severity / rationale).
To add a new pack:
- Create
policy-packs/<name>.tswithdefinePolicyPack({ id, framework, version, controls }). - Import it in
policy-packs/index.tsand append it toPOLICY_PACKS. - If the framework id is new, extend
GovernancePolicyFrameworkintypes/governance-report.ts.
Rule Engine fields for coding agents
Governance and the Rule Engine condition builder share extended fields so policies can match coding-agent and tool attributes, including:gen_ai.tool.name/gen_ai.tool.call.namecoding_agent.clientcoding_agent.policy.permission_modecoding_agent.content_capture_modecoding_agent.user.classificationcoding_agent.session.outcomecoding_agent.tool.name
APIs
Enterprise deployments audit report views and passport exports (metadata only — never raw prompts or secrets).
Related
- AI Analysis — Otter improvement + security dimensions
- Traces — hierarchy explorer hosting the Governance tab
- Privacy & Governance (coding agents) — capture modes and redaction
- Agent Governance Toolkit — Microsoft policy span integration (separate from this UI)
AI Analysis
Run Otter analysis so prompt injection and tool misuse fold into the passport
Rule Engine
Author conditions on coding-agent and tool fields that Governance will surface

