Skip to content

docs: per-host network rules and selector callbacks#227

Merged
tvi merged 2 commits into
mainfrom
mintlify/07ab0250
May 27, 2026
Merged

docs: per-host network rules and selector callbacks#227
tvi merged 2 commits into
mainfrom
mintlify/07ab0250

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 27, 2026

Documents the new structured network configuration from e2b-dev/E2B#1286:

  • network.rules map for per-host transforms (e.g. transform.headers for header injection by the egress proxy)
  • Selector callback form for allowOut / denyOut receiving { allTraffic, rules } (JS) / ctx.all_traffic, ctx.rules (Python)
  • Note that Map is also accepted for network.rules in JS

Added under Fine-grained network control in docs/sandbox/internet-access.mdx, before the existing "Updating network settings on a running sandbox" section.

@cla-bot cla-bot Bot added the cla-signed label May 27, 2026
@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 27, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
e2b 🟢 Ready View Preview May 27, 2026, 3:48 AM

@tvi tvi merged commit 2577c8d into main May 27, 2026
9 checks passed
@tvi tvi deleted the mintlify/07ab0250 branch May 27, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants