Skip to Content
How-to guidesApprove a blocked domain

Approve a blocked domain

Let your agent reach a new domain in one click, without restarting the space. Your agent needs pypi.org to install a library, or a vendor API to run an integration test: you see the blocked call, approve it, and the agent’s next try works. A space blocks outbound connections by default. When the agent tries a domain that no rule allows, Marshal blocks the call, records it, and shows you a card to approve.

Before you start

  • Role: you own the space, or the run names you as a person it asks.
  • The space is ready or running.
  • Your administrator decides whether members may add network access on a stack. When the stack disallows self-service additions, the card shows Self-service additions are off for this stack. instead of Approve. Ask a stack admin to add the address to the stack’s policy.

Steps

  1. Open the space (Spaces, then the space). For a run, open the run page instead.
  2. Open the Blocked tab in the right panel. The tab appears only after something was blocked, and it shows a red count of items that still need attention. If the panel is hidden, use the panel toggle in the toolbar.
  3. Find the card for the domain. It shows the host, the protocol, how many times it was blocked, and why: the rule that matched with its policy, or No rule matched: the policy’s default is deny. If the policy allows the address by now, the card reads Now allowed.
  4. Choose how to approve. Approve appears when the policy’s default action blocked the domain and the stack allows self-service additions. When a deny rule blocked it by name, the card reads Only an admin can change this., and an admin edits the rule on the Network policies page.
    • Click Approve to allow the domain for any protocol, in this space only. A new space from the same manifest blocks it again.
    • Click the arrow next to Approve (More approve options) for more choices:
      • Approve any protocol: the same as the main button.
      • Approve only a protocol and port: the narrowest choice. Other protocols to the same host stay blocked.
      • Approve & remember for next run: does the same as Approve and also saves the rule to your manifest. Future spaces from that manifest start with the domain allowed.
  5. To ignore a card, click Dismiss.

Each approval adds an allow rule, applies it to the running space at once, and is written to the audit log with your name. Tool, MCP, and database calls that were blocked use the same cards, with an Approve button.

When the agent asks for a domain

An agent that hits a blocked domain can ask you for it instead of waiting for you to notice. It runs marshal-agent request-access --resource <host> --reason "<why>" and waits. The blocked response carries the header X-Marshal-Block: policy, and the agent’s briefing tells it to use this command.

  1. The request appears under Requests in the right panel, and in Slack when your workspace is linked. It shows the host and the agent’s reason.
  2. Click Approve or Deny.
  3. Pick where the approval applies. This space only is preselected: the host is allowed for this space and nothing else. Remember for this manifest also saves it to your manifest, so future spaces start with it, as Approve & remember for next run does. Then click Approve. Marshal adds the allow rule, and only then does the agent’s command return, so its next call to the host works.

Approving in Slack always means this space only. Only the space owner or an administrator of the same organization can answer. The agent can never answer its own request. The request names one exact host, with an optional port. Wildcards, IP addresses, and localhost are refused. A space holds up to five open requests, and asking again for a host that is already waiting returns the same request. An approval that your stack policy refuses leaves the request open and shows you the reason.

If the stack has a deny rule for the host, the deny still wins.

The audit log records agent_req.access_approved or agent_req.access_denied with the host, the reason, and who answered, next to the space.policy_approved event. Runs that no person watches do not support this command yet: it exits with code 3.

What you should see

  • The card changes to Approved with a check mark, or Now allowed when the policy itself allows the domain. The banner reads “All N blocked items resolved. History stays here for audit.”
  • The agent’s next attempt to reach the domain works. The space does not restart.
  • After Approve & remember for next run, the rule shows in the manifest editor under Network policy, in Your network additions.
  • In the audit log, Approve adds a space.policy_approved event. Approve & remember for next run adds that event and a manifest.network_allow_add event.

Next

Read the audit log: see every call your agents made, and which ones were blocked.