feat: add info on sandbox firewall#642
Conversation
Signed-off-by: Vikram Vaswani <vvaswani@blaxel.ai>
Signed-off-by: Vikram Vaswani <vvaswani@blaxel.ai>
🧪 Testing GuideWhat this PR addressesAdds documentation for a new sandbox firewall feature ( Steps to verify
What to verify (expected behavior)
Note Posted by PR Testing Guide · Tag @mendral-app with feedback. |
🔀 Interaction Flow: Sandbox Firewall EnforcementBased on the changes in this PR, here's how the domain filter enforcement interacts with sandbox components: sequenceDiagram
participant Client as SDK Client
participant API as Blaxel API
participant Sandbox as Sandbox Instance
participant Firewall as Network Firewall
participant Proxy as Blaxel Proxy
participant Ext as External Domain
Client->>API: createIfNotExists(network config)
Note over Client,API: firewall: { rulesets: ["proxy"] }<br/>allowedDomains: ["httpbin.org"]
API->>Sandbox: Provision with firewall rules
API->>Firewall: Apply ruleset "proxy"
Note over Firewall: Forces all outbound traffic<br/>through proxy at network level
Sandbox->>Ext: Outbound request (any tool)
Firewall-->>Proxy: Intercept & redirect traffic
alt Domain in allowedDomains
Proxy->>Ext: Forward request
Ext-->>Proxy: Response
Proxy-->>Sandbox: Response
else Domain not allowed / in forbiddenDomains
Proxy--xSandbox: Block request
end
SummaryThis PR documents the new
Files changed:
Note Posted by PR Sequence Diagram · Tag @mendral-app with feedback. |
|
📋 Created Linear issue ENG-3410 — status: In Progress
Auto-created because no Linear reference was found in the PR title, description, or branch name. Note Posted by Linear Issue Enforcer · Tag @mendral-app with feedback. |
Signed-off-by: Vikram Vaswani <vvaswani@blaxel.ai>
There was a problem hiding this comment.
LGTM
Previous review had no actionable comments. The new commit (f072998) corrects the precedence semantics from "forbiddenDomains takes precedence" to "allowedDomains takes precedence" consistently across both Proxy-domains.mdx and Proxy.mdx. No correctness or security issues in the documentation changes.
Tag @mendral-app with feedback or questions. View session
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Fixes ENG-3410
Note
Adds documentation for the sandbox firewall feature (
firewall: { rulesets: ["proxy"] }) and corrects the precedence rule when bothallowedDomainsandforbiddenDomainsare set (now statesallowedDomainstakes precedence).Written by Mendral for commit f072998.