Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / ApiBoundaryGuardOptions

Interface: ApiBoundaryGuardOptions

Defined in: packages/security/src/guard/api-boundary-guard.ts:31

Options for createApiBoundaryGuard(...).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
actor?readonlyMemoryGuardActorOptional actor pointer surfaced through audit events.packages/security/src/guard/api-boundary-guard.ts:44
allowedOpsreadonlyreadonly string[]List of allowed <scope>.<op> operations.packages/security/src/guard/api-boundary-guard.ts:33
observedOpsreadonly() => readonly string[]Returns the list of <scope>.<op> operations observed during the surrounding execution context. The host records each ctx.memory.* call before it routes the call to the actual memory store; the recorder is reset between snapshots.packages/security/src/guard/api-boundary-guard.ts:40