Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / MemoryGuardAuditEvent
Interface: MemoryGuardAuditEvent
Defined in: packages/security/src/guard/audit-emitter.ts:71
One audit event. The payload never contains the raw contents of a memory region — only the digest, the region name, and the actor.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
action | readonly | MemoryGuardAuditAction | - | packages/security/src/guard/audit-emitter.ts:72 |
actor? | readonly | MemoryGuardActor | Optional actor pointer. | packages/security/src/guard/audit-emitter.ts:81 |
decision | readonly | MemoryGuardDecision | - | packages/security/src/guard/audit-emitter.ts:73 |
metadata? | readonly | Readonly<Record<string, unknown>> | Optional structured metadata. Must be safe to log. | packages/security/src/guard/audit-emitter.ts:83 |
regions? | readonly | readonly string[] | Mismatched region names (only populated on mismatch / rollback). | packages/security/src/guard/audit-emitter.ts:79 |
tier | readonly | MemoryGuardTier | Stable identifier of the guard tier that fired the event. | packages/security/src/guard/audit-emitter.ts:77 |
ts | readonly | number | Epoch milliseconds at which the event fired. | packages/security/src/guard/audit-emitter.ts:75 |