Skip to content

Sandbox / SandboxNetworkUpdate

Type Alias: SandboxNetworkUpdate ​

SandboxNetworkUpdate = object

Subset of SandboxNetworkOpts accepted by SandboxApi.updateNetwork. The update endpoint replaces all egress rules atomically — fields that are omitted are cleared on the server.

Properties ​

allowInternetAccess? ​

optional allowInternetAccess?: boolean

Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut: ['0.0.0.0/0'] in the network config.


allowOut? ​

optional allowOut?: SandboxNetworkSelector

See SandboxNetworkOpts.allowOut.


denyOut? ​

optional denyOut?: SandboxNetworkSelector

See SandboxNetworkOpts.denyOut.


rules? ​

optional rules?: SandboxNetworkRules

See SandboxNetworkOpts.rules. A transform callback works here too, but the update payload carries no iam config, so token names cannot be checked against the sandbox's registered tokens — every name resolves to its placeholder and a typo only surfaces at the destination.