Reťazovaná, len na vkladanie určená kniha každej akcie v systéme; každý riadok nesie odtlačok predchádzajúceho, takže zmena minulosti je zistiteľná.
Envelope identity and kind-specific facts from the entity's spec.
audit-log13seqThis entity and everything one relation away, grouped by the data store each lives in.
Nothing in the catalog links this entity to another data entity, so there is no neighbourhood to draw.
spec:
relations:
- { to: order-line, cardinality: one-to-many, via: order_id }
Every column of this entity — type, whether it is required, and which key it is.
| Field | Type | Required | Key | Description |
|---|---|---|---|---|
seq | bigint | yes | PK | — |
occurred_at | timestamptz | yes | — | — |
actor_user_id | uuid | optional | — | — |
actor_tenant_id | uuid | optional | — | — |
tenant_id | uuid | optional | — | — |
action | text | yes | — | — |
target_type | text | optional | — | — |
outcome | text | yes | — | — |
source_ip | inet | optional | — | — |
before | jsonb | optional | — | — |
after | jsonb | optional | — | — |
prev_hash | bytea | optional | — | — |
row_hash | bytea | yes | — | — |
Merged from both ends: an edge the other entity declares appears here too (ADR-0015).
This entity declares no spec.relations[], and no other data entity points at it.
- { to: customer, cardinality: many-to-one, via: customer_id }
Declared spec links and inverses derived from the graph.
Declared here
Derived from the graph
Free x-* spec keys and namespaced tool annotations (standard §1).
Annotations
gordulitch.sk/tamper-evidenceSamotná tabuľka nestačí. Ochranu tvoria štyri vrstvy naraz: iba INSERT právo, triggery blokujúce UPDATE aj DELETE, hashový reťazec a kópia mimo databázy v režime WORM. Overovateľ prepočítava hash riadku nezávisle od funkcie, ktorá ho zapísala — kontrola samotných väzieb reťazca by nestačila.Markdown texts from the entity's docs/ folder.
Architecture notes, runbooks, and onboarding texts belong here — anything a new operator should read.
Add markdown files under data-entities/audit-log/docs/