Skip to content

Commit e0d9920

Browse files
dobracgithub-actions[bot]
authored andcommitted
chore: sync infra OpenAPI specs
1 parent 966e86a commit e0d9920

3 files changed

Lines changed: 4201 additions & 4148 deletions

File tree

spec/openapi.infra.yaml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,36 @@ components:
282282
maskRequestHost:
283283
type: string
284284
description: Specify host mask which will be used for all sandbox requests
285+
rules:
286+
type: object
287+
description: >
288+
Per-domain transform rules applied to matching egress HTTP/HTTPS requests.
289+
Keys are domains (e.g. "api.example.com", "example.com").
290+
A domain listed here is not automatically allowed - use allowOut to permit the traffic.
291+
additionalProperties:
292+
type: array
293+
items:
294+
$ref: '#/components/schemas/SandboxNetworkRule'
295+
296+
SandboxNetworkRule:
297+
type: object
298+
description: Transform rule applied to egress requests matching a domain pattern.
299+
properties:
300+
transform:
301+
$ref: '#/components/schemas/SandboxNetworkTransform'
302+
303+
SandboxNetworkTransform:
304+
type: object
305+
description: Transformations applied to matching egress requests before forwarding.
306+
properties:
307+
headers:
308+
type: object
309+
description: >
310+
HTTP headers to inject or override in matching requests.
311+
An existing header with the same name is replaced. Values are plain strings;
312+
secret resolution happens client-side before sending to the API.
313+
additionalProperties:
314+
type: string
285315

286316
SandboxAutoResumeEnabled:
287317
type: boolean
@@ -2372,7 +2402,7 @@ paths:
23722402

23732403
/sandboxes/{sandboxID}/network:
23742404
put:
2375-
description: Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting both fields clears all egress rules.
2405+
description: Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
23762406
security:
23772407
- ApiKeyAuth: []
23782408
- Supabase1TokenAuth: []
@@ -2395,6 +2425,13 @@ paths:
23952425
description: List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
23962426
items:
23972427
type: string
2428+
rules:
2429+
type: object
2430+
description: Per-domain transform rules. Replaces all existing rules when provided.
2431+
additionalProperties:
2432+
type: array
2433+
items:
2434+
$ref: '#/components/schemas/SandboxNetworkRule'
23982435
allow_internet_access:
23992436
type: boolean
24002437
description:

0 commit comments

Comments
 (0)