memory_archivo
Detect tampering in an append-only audit log: append events, verify SHA-256 hash chain, or tail recent entries.
Instructions
[alias of cuba_archivo] Tamper-evident audit log: append-only, SHA-256 hash chain, UPDATE/DELETE blocked at the PostgreSQL trigger level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit for verify/tail (default 10000 / 20) | |
| action | Yes | append: add an event. verify: walk the hash chain and detect tampering. tail: read recent events. | |
| payload | No | Arbitrary JSON payload (for append) | |
| event_action | No | Event type (for append) |