Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/security / / SandboxRunOptions
Interface: SandboxRunOptions<TInput>
Defined in: packages/core/dist/contracts/sandbox.d.ts
Per-call sandbox options.
Stable
Type Parameters
| Type Parameter | Default type |
|---|---|
TInput | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
allowFs? | readonly | boolean | - | packages/core/dist/contracts/sandbox.d.ts |
allowNetwork? | readonly | boolean | - | packages/core/dist/contracts/sandbox.d.ts |
env? | readonly | Readonly<Record<string, string>> | Allowlist of environment variables visible inside the sandbox. Sandboxed code never inherits the host process.env; entries given here are the only ones defined. | packages/core/dist/contracts/sandbox.d.ts |
input | readonly | TInput | - | packages/core/dist/contracts/sandbox.d.ts |
maxMemoryMb? | readonly | number | - | packages/core/dist/contracts/sandbox.d.ts |
signal? | readonly | AbortSignal | - | packages/core/dist/contracts/sandbox.d.ts |
timeoutMs? | readonly | number | - | packages/core/dist/contracts/sandbox.d.ts |