Documentation / @agentick/sandbox / NetworkRule
Interface: NetworkRule ​
Defined in: types.ts:200
Properties ​
action ​
action:
"allow"|"deny"
Defined in: types.ts:202
"allow" or "deny". Rules evaluated in order; first match wins.
domain? ​
optionaldomain:string
Defined in: types.ts:205
Domain pattern. Supports wildcards: "*.example.com", "api.github.com".
methods? ​
optionalmethods:string[]
Defined in: types.ts:211
HTTP methods to match. Default: all.
port? ​
optionalport:number
Defined in: types.ts:214
Port to match.
urlPattern? ​
optionalurlPattern:string
Defined in: types.ts:208
URL regex pattern. Matched against full URL.