LLM Audit Logging for Enterprise Compliance
Every AI decision. Every user. Every model.
Compliance teams need audit trails for AI decisions. Policy Gateway logs every policy decision with structured metadata and exports to the SIEM tools security teams already use.
What gets logged
Every request through Policy Gateway generates a structured audit record with decision metadata, user/project tags, and policy context. Prompts and outputs are not logged by default.
decisionallow, rewrite, redact, escalate, refusereason_codeStructured code for why the decision was madepolicy_idWhich policy version was appliedpolicy_userUser identifier for attributionpolicy_project_idProject/app identifier for chargebackrollout_modeshadow, canary, or enforcetriggered_categoriesWhich policy rules matchedtimestampISO 8601 timestampExport to the tools you already use
Policy Gateway exports audit logs to enterprise SIEM and logging platforms. Configure once, stream continuously.
Splunk HEC
Stream to Splunk HTTP Event Collector for real-time dashboards and alerts.
Datadog Logs
Send to Datadog Logs API with source tagging for unified observability.
Elastic
Index to Elasticsearch for full-text search and Kibana visualization.
Amazon S3
Archive to S3 for long-term retention and Athena queries.
Azure Monitor
Send to Log Analytics workspace for Azure-native compliance workflows.
Built for compliance teams
SOC 2 audits
Demonstrate AI governance controls with structured decision logs. Show auditors which policies were enforced and why.
Incident investigation
Trace any AI decision back to the user, project, policy version, and triggered rules. Filter by reason code to find patterns.
Usage chargeback
Attribute AI usage to teams and projects. Export to finance systems for internal billing.
Policy change tracking
Every policy revision is logged. Compare decisions before and after policy changes to measure impact.
See audit logging in action
Run a Policy Gateway simulation and view the audit trail. No credit card required.