kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / cloud / egress / set

kosa8 cloud egress set

Replace a sandbox's egress policy, at once

Usage#

kosa8 cloud egress set ID

--allow and --preset allow only what they list (no other internet); --internet lets everything out, with --deny blocking a few hosts; --no-internet cuts it off.

Options#

FlagTypeWhat it doesDefault
--allowstringArrayallow this host, or *.domain (repeatable)[]
--denystringArrayblock this host (repeatable)[]
--internetboollet everything out (with --deny for exceptions)—
--no-internetboolno internet except --allow and --preset—
--presetstringArrayallow a preset, e.g. pypi, npm (repeatable; see egress presets)[]

Example#

  kosa8 cloud egress set sbx_abc --no-internet --preset pypi
  kosa8 cloud egress set sbx_abc --no-internet --allow api.github.com --allow '*.anthropic.com'
  kosa8 cloud egress set sbx_abc --internet --deny 169.254.169.254

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA