# 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.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--allow` | stringArray | allow this host, or *.domain (repeatable) | `[]` |
| `--deny` | stringArray | block this host (repeatable) | `[]` |
| `--internet` | bool | let everything out (with --deny for exceptions) |  |
| `--no-internet` | bool | no internet except --allow and --preset |  |
| `--preset` | stringArray | allow a preset, e.g. pypi, npm (repeatable; see egress presets) | `[]` |

---
Source: https://docs.kosa8.com/reference/cloud-egress-set/
