Interface: AuditRecord
@kortexya/reasoninglayer / Compliance / AuditRecord
Interface: AuditRecord
Defined in: src/types/compliance.ts:39
A single record in the tenant’s hash-chained audit ledger.
Properties
actor?
optionalactor:string|null
Defined in: src/types/compliance.ts:45
Optional actor (user id) who triggered the request.
dataVersions
dataVersions:
Record<string,string>
Defined in: src/types/compliance.ts:61
Map of input-data versions in effect when the record was written.
extra
extra:
Record<string,unknown>
Defined in: src/types/compliance.ts:63
Caller-defined metadata.
gitRevision
gitRevision:
string
Defined in: src/types/compliance.ts:59
Git revision of the engine that wrote this record.
id
id:
string
Defined in: src/types/compliance.ts:41
Stable id of this record.
prevHash
prevHash:
string
Defined in: src/types/compliance.ts:55
Hash of the previous record (forms the chain).
recordHash
recordHash:
string
Defined in: src/types/compliance.ts:57
Hash of this record (computed from all other fields).
requestHash
requestHash:
string
Defined in: src/types/compliance.ts:51
Hash of the audited request body.
requestPath
requestPath:
string
Defined in: src/types/compliance.ts:49
Path of the audited request.
responseHash
responseHash:
string
Defined in: src/types/compliance.ts:53
Hash of the audited response body.
tenantId
tenantId:
string
Defined in: src/types/compliance.ts:43
Tenant the record belongs to.
timestamp
timestamp:
string
Defined in: src/types/compliance.ts:47
ISO-8601 timestamp at which the record was appended.