> ## Documentation Index
> Fetch the complete documentation index at: https://docs.formal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SASE

> Inspect and control the traffic that leaves laptops, VMs, and sandboxes, with one policy engine and one audit log

## Overview

Formal secures the traffic that leaves your devices and workloads.
The [Endpoint](https://docs.formal.ai/docs/guides/client-apps/desktop-app.md) runs on the laptop, VM, or sandbox and inspects traffic before it leaves the host.
To reach private resources, it connects users to the [Connectors](https://docs.formal.ai/docs/guides/core-concepts/connectors/introduction.md) in your network.

One set of [policies](https://docs.formal.ai/docs/guides/policies/introduction.md) and one log stream cover both.

## Capabilities

| Capability | How Formal does it | Docs |
| - | - | - |
| Secure egress | The Endpoint intercepts selected flows, terminates TLS, and evaluates policies before traffic leaves the host. | [Transparent Mode](https://docs.formal.ai/docs/guides/client-apps/transparent-mode.md) |
| Per-app rules | Network rules match by destination, technology, and the process that opened the connection. | [Write Network Rules](https://docs.formal.ai/docs/guides/network-rules.md) |
| Access to private resources | `formal connect` reaches resources behind a Connector and injects Formal credentials. | [`formal connect`](https://docs.formal.ai/docs/guides/client-apps/cli#connect-to-resources) |
| Fleet rollout | Your MDM installs the Endpoint silently, trusts the CA, and signs users in. | [MDM Endpoint Rollout](https://docs.formal.ai/docs/guides/integrations/mdm.md#endpoint-rollout) |
| Workload coverage | The Endpoint runs as a sidecar for Kubernetes Pods and Amazon ECS tasks. | [Kubernetes](https://docs.formal.ai/docs/guides/client-apps/kubernetes-egress.md), [Amazon ECS](https://docs.formal.ai/docs/guides/client-apps/ecs-egress.md) |
| Audit trail | Every intercepted request is logged with the identity and the process behind it. | [Logs](https://docs.formal.ai/docs/guides/observability/logs.md) |

## Roll it out

**1. Deploy the Endpoint**

Use [MDM](https://docs.formal.ai/docs/guides/integrations/mdm.md#endpoint-rollout) for laptops. For workloads, see [Linux](https://docs.formal.ai/docs/guides/client-apps/linux.md), [Kubernetes](https://docs.formal.ai/docs/guides/client-apps/kubernetes-egress.md), or [Amazon ECS](https://docs.formal.ai/docs/guides/client-apps/ecs-egress.md).

**2. Enforce Transparent Mode**

Set `enable` and `enforce` in the Endpoint configuration. See [Configuring Transparent Mode on Startup](https://docs.formal.ai/docs/guides/client-apps/configuration.md#configuring-transparent-mode-on-startup).

**3. Choose what to intercept**

Write [network rules](https://docs.formal.ai/docs/guides/network-rules.md). Start narrow, for example with AI agent traffic only.

**4. Write egress policies**

Start from a guide below. Test each policy in [dry-run mode](https://docs.formal.ai/docs/guides/policies/operations.md#2-dry-run-mode).

**5. Reach private resources**

Deploy a [Connector](https://docs.formal.ai/docs/guides/core-concepts/connectors/deployment.md). Users run `formal connect <resource-name>` to reach resources behind it.

> [!NOTE]
>
> Already run a VPN or Zero Trust client? See
> [VPN and Zero Trust clients](https://docs.formal.ai/docs/guides/client-apps/endpoint-troubleshooting.md#vpn-and-zero-trust-clients).

## Guides

> [card] [Block agent Git pushes](https://docs.formal.ai/docs/guides/example-use-cases/block-agent-git-pushes.md)
>
> Stop pushes to sensitive repositories over SSH and HTTPS

> [card] [Block malicious package downloads](https://docs.formal.ai/docs/guides/example-use-cases/block-malicious-package-downloads.md)
>
> Block npm, PyPI, and other packages that Socket flags

> [card] [Restrict Codex Desktop to LLM and MCP](https://docs.formal.ai/docs/guides/example-use-cases/restrict-codex-desktop-egress.md)
>
> Allow only LLM and approved MCP egress

> [card] [Prevent cloud agents from auto-merging PRs](https://docs.formal.ai/docs/guides/example-use-cases/formal-endpoint-cloud-agents.md)
>
> Run the Endpoint on Cursor and Devin cloud agents

## Next Steps

> [card] [Formal Endpoint](https://docs.formal.ai/docs/guides/client-apps/desktop-app.md)
>
> Install and configure the egress proxy

> [card] [Write Network Rules](https://docs.formal.ai/docs/guides/network-rules.md)
>
> Select the traffic the Endpoint intercepts


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.