cuba_archivo
Append events to a tamper-evident SHA-256 hash-chained audit log, then verify the chain to detect tampering or tail recent entries.
Instructions
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) |