Compliance
Export Policy Gateway audit logs to Amazon S3
Store Policy Gateway audit logs in S3 for durable retention, batch analytics, and compliance archives.
Updated 2026-01-16
Archive Policy Gateway audit logs in S3 so compliance teams can retain events for long-term investigations.
Exports are available on enterprise plans; contact help@abliteration.ai to enable a log export sink.
{
"destination": "s3",
"bucket": "ai-audit-logs",
"prefix": "policy-gateway/",
"format": "jsonl"
}What gets exported
Policy Gateway audit logs include consistent decision metadata for compliance reviews.
Export configuration
Write audit logs as JSON lines files in S3.
Recommended S3 object layout
Partition by date so Athena and other tools can query efficiently.
s3://ai-audit-logs/policy-gateway/date=2026-01-16/part-00001.jsonlSample JSON line
Each line is a single audit log event.
{"policy_id":"support-guardrails","decision":"rewrite","effective_decision":"rewrite","reason_code":"REWRITE","policy_user":"user-12345","project_id":"support-bot","policy_target":"support-bot","rollout_mode":"enforced","enforced":true,"triggered_categories":["self-harm/intent"],"allowlist_hits":["refund policy"],"denylist_hits":[],"model":"abliterated-model","created_at":"2026-01-16T18:22:11Z"}