Skip to content

Examples

bun run demo boots a seeded playground on http://localhost:7790 — four customer tenants with six weeks of realistic history (sign-ins, member and role changes, invoices paid / failed / refunded, API keys, SSO, deployments, exports, GDPR erasures), daily Ed25519 checkpoints, a pruned retention window, a SIEM stream catching up, a customer’s Splunk stream stuck on a revoked token, and portal links per tenant.

Example Shows
hono / elysia / express / bun panel + a team-settings app recording on real user actions via auditContext
auth none/basic/delegated + admin/auditor/viewer roles + portal tokens side by side
portal-embed <AuditPortal> inside a host React app, with a server minting portal tokens
storage-drivers one contract, every serverless backend, the same query results
postgres docker Postgres + the audit tables in your Drizzle schema, migrated by drizzle-kit
siem-streaming HTTP + signed-webhook + checkpoint-witness streams; failures, backoff, catch-up
drizzle-audit-bridge drizzle-audit row changes → the chained, tenant-scoped log
verify-export signed bundles verified offline: @xtandard/audit/verify + CLI exit codes 0/2/1
standalone-docker compose file for the image, with Postgres