# 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

| Command          | Description                                                   |
| ---------------- | ------------------------------------------------------------- |
| `create`         | Create a new guard                                            |
| `create-egress`  | Create a new guard that denies all egress (outgoing) traffic  |
| `create-ingress` | Create a new guard that denies all ingress (incoming) traffic |
| `delete`         | Delete an existing guard                                      |
| `detail`         | View detailed information about a specific guard              |
| `edit`           | Edit an existing guard configuration                          |
| `list`           | List all available guards in the project                      |

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-guard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
