> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-guard.md).

# cldkctl guard

The guard command allows you to manage project guards, which are security rules controlling ingress (incoming) and egress (outgoing) network traffic within your Cloudeka environment. With this command, you can create, list, view details, edit, and delete guards — helping you enforce network access policies at the project level.

## Usage

```
cldkctl guard [flags]
```

```
cldkctl guard [command]
```

## Available command

<table><thead><tr><th width="218.75518798828125">Command</th><th>Description</th></tr></thead><tbody><tr><td>create</td><td>Create a new guard</td></tr><tr><td>create-egress</td><td>Create a new guard that denies all egress (outgoing) traffic</td></tr><tr><td>create-ingress</td><td>Create a new guard that denies all ingress (incoming) traffic</td></tr><tr><td>delete</td><td>Delete an existing guard</td></tr><tr><td>detail</td><td>View detailed information about a specific guard</td></tr><tr><td>edit</td><td>Edit an existing guard configuration</td></tr><tr><td>list</td><td>List all available guards in the project</td></tr></tbody></table>

## Flags

{% hint style="info" %}
This command supports global flags. Refer to the Global Flags section for details.
{% endhint %}

| Flag       | Description                 |
| ---------- | --------------------------- |
| -h, --help | Help for the guard command. |
