Repository navigation
feat: implement network out allow/deny list support - #1016
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 2b7e715 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
dobrac
force-pushed
the
add-allow-deny-network-out-support
branch
from
November 11, 2025 02:03
28a81ec to
1fda7e7
Compare
Closed
Member
|
I like this api 👍 |
dobrac
force-pushed
the
add-allow-deny-network-out-support
branch
from
November 11, 2025 16:08
1fda7e7 to
f2251b0
Compare
dobrac
marked this pull request as ready for review
November 11, 2025 17:14
dobrac
requested review from
ValentaTomas,
jakubno and
mishushakov
as code owners
November 11, 2025 17:14
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
mishushakov
reviewed
Nov 11, 2025
mishushakov
left a comment
Member
There was a problem hiding this comment.
haven't checked the tests yet - feedback for the SDK so far
mishushakov
reviewed
Nov 12, 2025
mishushakov
approved these changes
Nov 12, 2025
sitole
reviewed
Nov 14, 2025
sitole
approved these changes
Nov 14, 2025
dobrac
enabled auto-merge (squash)
November 14, 2025 14:47
dobrac
force-pushed
the
add-allow-deny-network-out-support
branch
from
November 14, 2025 23:27
820b8f0 to
20f27bf
Compare
dobrac
force-pushed
the
add-allow-deny-network-out-support
branch
from
November 14, 2025 23:34
80216a6 to
dceb2bc
Compare
dobrac
force-pushed
the
add-allow-deny-network-out-support
branch
from
November 15, 2025 10:29
7d3f37c to
57b2a42
Compare
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Network Outbound Traffic Control for Sandboxes
Users can now configure network restrictions when creating sandboxes using the new
networkconfiguration option withallowOutanddenyOutparameters.Key Features
allowOuttakes precedence overdenyOutwhen there are conflictsALL_TRAFFIChelper to easily deny/allow all network traffic (0.0.0.0/0)Usage Examples
JavaScript/TypeScript:
Python:
Note
Adds sandbox network allow/deny egress, optional public traffic protection with access token and host masking, updates template build/list APIs, and integrates these across JS/Python SDKs with tests.
networkconfig to sandboxes withallowOut,denyOut,allowPublicTraffic,maskRequestHost; exportALL_TRAFFIChelper.trafficAccessTokenon sandbox instances; wire through create/connect flows.packages/js-sdk/src/index.ts,sandbox/sandboxApi.ts, Pythone2b/__init__.py, and sandbox base.NewSandboxwithnetworkand clarifyallow_internet_access; addSandboxNetworkConfigschema.trafficAccessTokentoSandboxresponses.GET /templates/{templateID}returningTemplateWithBuilds; split build models intoTemplateBuild(summary) andTemplateBuildInfo(status/logs); adjustGET /templates/{templateID}/builds/{buildID}/statusto returnTemplateBuildInfo.limit,nextToken) components; update/v2/sandboxesto use them.packages/js-sdk/tests/sandbox/network.test.tsand Python async/sync tests.--default-non-nullable false).Written by Cursor Bugbot for commit 2b7e715. This will update automatically on new commits. Configure here.