Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / AuditEntryInput
Interface: AuditEntryInput
Defined in: packages/security/src/audit/types.ts:102
Input to appendAudit(...). Callers do not provide seq, prev_hash, or hash; those are computed by the helper.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
action | readonly | AuditAction | - | packages/security/src/audit/types.ts:104 |
actor | readonly | AuditActor | - | packages/security/src/audit/types.ts:103 |
context? | readonly | AuditContext | - | packages/security/src/audit/types.ts:107 |
decision | readonly | AuditDecision | - | packages/security/src/audit/types.ts:106 |
metadata? | readonly | Readonly<Record<string, unknown>> | - | packages/security/src/audit/types.ts:108 |
target | readonly | string | - | packages/security/src/audit/types.ts:105 |
ts? | readonly | number | Override the timestamp. Defaults to Date.now(). Tests pass a deterministic value here; production code never sets this. | packages/security/src/audit/types.ts:113 |