Skip to main content
Every TealTiger decision generates a structured audit event. These events provide complete transparency into what happened, why it happened, and who initiated it.

Why audit events matter

Audit events give you:
  • Compliance evidence - Prove your AI is governed for auditors
  • Incident response - Investigate security issues with complete context
  • Cost tracking - Know exactly what each decision cost
  • Debugging - Understand why a decision was made
  • Traceability - Link decisions across distributed systems

Quick example

Here’s what a real audit event looks like:
This event tells you: User [email protected] made a request that cost $0.0031, was allowed by policy pol_cost_guardrails_001, and stayed within budget limits.

Purpose

TealTiger v1.1.0 audit events make policy decisions:
  • Transparent - See exactly what happened
  • Explainable - Understand why through reason codes
  • Traceable - Link events across systems with correlation IDs
  • Auditable - Reproducible evidence for compliance
Audit events record:
  • Policy evaluation inputs and outputs (without leaking secrets)
  • Actions executed and their outcomes
  • Reason codes and risk scores for explainability
  • Correlation data for distributed tracing
  • Cost and performance metrics

Schema Overview

Schema identity

Each audit event includes schema identifiers for compatibility:
  • schema.name: fixed logical name for this schema
  • schema.version: semantic version of the event schema (v1.1.0 here)
  • event.type: event category (decision/action/error/metric)

Event Structure

This is the canonical event shape emitted by the SDK/runtime.
Your implementation may add fields under extensions.* as needed, without breaking compatibility.

Canonical JSON Shape (Conceptual)


  • Decision lifecycle: /concepts/decision-lifecycle
  • Author policies: /policy/policy-authoring-guide
  • Logging rules: /audit/logging-behavior
  • Cost attributes: /audit/cost-metadata