agentskit.js

createSignedAuditLog

Auto-generated API reference for createSignedAuditLog.

Function: createSignedAuditLog()

createSignedAuditLog(options): SignedAuditLog

Defined in: audit-log.ts:81

Hash-chained + HMAC-signed audit log. Every entry references the previous entry's hash, and every entry's body is signed with a caller-supplied secret. Together: tamper-evident (chain detects splicing) + authenticated (HMAC detects content edits by anyone who doesn't hold the secret).

Designed for SOC 2 / HIPAA friendly evidence. The store contract is three methods so you can back the log with SQLite, S3 + GCS, Postgres, or a read-only log service — anything append-only.

#Parameters

#options

AuditLogOptions

#Returns

SignedAuditLog

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page