# detail

The cldkctl guard detail command displays detailed information about a specific Guard in your project. This command provides the Guard’s project ID, name, namespace, endpoint selector, and configuration details for ingress and egress rules. It is useful for verifying Guard settings, traffic permissions, and applied policies.

## Usage

```
cldkctl guard detail [flags]
```

## Aliases

```
detail, info
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal, and replace `<guard_name>` with the name of the Guard you want to inspect:

```
cldkctl guard detail --name <guard_name>
```

2. If your Guard belongs to a specific namespace, include the `--namespace` flag to ensure accurate results.

```
cldkctl guard detail -n <guard_name> -s <namespace>
```

3. Wait a few seconds for the system to fetch the Guard information.
4. Review the detailed output, which contains the Guard metadata and configuration for ingress and egress rules.

<figure><img src="/files/t14PVEPBmUCMNGxysGvj" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="369">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Detail Guard</strong></td><td></td></tr><tr><td>Project ID</td><td>The unique identifier of the project where the Guard is deployed.</td></tr><tr><td>Name</td><td>The name of the Guard resource.</td></tr><tr><td>Namespace</td><td>The Kubernetes namespace in which the Guard resides.</td></tr><tr><td>Endpoint Selector</td><td>Label selector used to match workloads under this Guard.</td></tr><tr><td>Ingress Deny</td><td>Indicates whether all other unspecified incoming traffic is denied.</td></tr><tr><td>Egress Deny</td><td>Indicates whether all other unspecified outgoing traffic is denied.</td></tr><tr><td><strong>Guard Ingress / Guard Egress</strong></td><td></td></tr><tr><td>Type</td><td>Defines the rule behavior that determines how traffic is handled.</td></tr><tr><td>Selector</td><td>Specifies the target label or endpoint affected by the rule.</td></tr><tr><td>Port</td><td>Indicates which port or range of ports the rule applies to. If empty, the rule applies to all ports.</td></tr><tr><td>Exception</td><td>Lists any exclusions or exceptions to the rule, allowing certain traffic even when general restrictions are applied.</td></tr></tbody></table>

## Flags

{% hint style="info" %}

1. This command supports global flags. Refer to the Global Flags section for details.
   {% endhint %}

| Flag       | Description                        |
| ---------- | ---------------------------------- |
| -h, --help | Help for the guard detail 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/detail.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.
