> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/manual/english/platform-usage/shield/microsegmentation/rules.md). Agents can also search and read this documentation through its [MCP server](https://docs.enginsight.com/docs/~gitbook/mcp).

# Rules

Shield rules for microsegments allow you to explicitly permit selected connections to and from defined microsegments.

{% hint style="danger" %}
**Please note**: For microsegment rules to be actively enforced, you must enable the **Enginsight Shield (IPS)** option in the [settings of the individual hosts](https://docs.enginsight.com/docs/manual/english/platform-usage/host-detail-view/settings.md#core-feature) or under **Hosts** → **Policy Manager** via a [corresponding policy](https://docs.enginsight.com/docs/manual/english/platform-usage/hosts/management/policy-manager/add-policy-manager.md#enginsight-shield-ips).
{% endhint %}

***

<i class="fa-compass">:compass:</i> Navigate to **Shield** → **Microsegmentation** → **Rules** to show a list of all configured microsegment rules. If you have not created any microsegment rules yet, this view is empty.

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2F0pNOworg6DCVzB9legLL%2Fenginsight-screenshot-shield-logs%20microsegmentation-rules.jpg?alt=media&amp;token=bfe74619-58db-407c-b8eb-1f2935084de7" alt=""><figcaption></figcaption></figure>

The [rule overview](#rules-overview) provides information such as:

* which network connections are allowed to and from which microsegments in each rule.
* whether a rule is actively enforced.

You can also [add new rules](#add-rules).

***

## Navigation

<i class="fa-magnifying-glass">:magnifying-glass:</i> Click the **Search** field above the list and enter a search term of your choice to find specific list items more quickly.

<i class="fa-computer-mouse-scrollwheel">:computer-mouse-scrollwheel:</i> Scroll down the list or adjust the number of results shown per page ![](https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FfjKACCt2SKXcFd3S7Xb5%2FEnginsight-EN-Results%20per%20Page.jpg?alt=media\&token=e1650160-7a41-4965-aaca-6975db758dbe) to view additional entries. Use the page navigation ![](https://content.gitbook.com/content/V7OrHgKXA0t1jankQBYf/blobs/wnxVw06QGoSsYjhwMJRF/Enginsight-Seitennavigation-2.jpg) to switch between pages.&#x20;

### Sorting List Items

<i class="fa-computer-mouse">:computer-mouse:</i> Click the **Sort** icon <i class="fa-sort">:sort:</i> next to a column name in the table header to sort by that column in ascending <i class="fa-angle-up">:angle-up:</i> or descending order <i class="fa-chevron-down">:chevron-down:</i> .

<i class="fa-computer-mouse">:computer-mouse:</i> Click the sort icon <i class="fa-bars-sort">:bars-sort:</i> above the list to adjust the priority of the applied sorting. A menu opens that shows all columns by which the list is currently sorted. Drag and drop the shown items to change the sorting priority.

### Further Actions for List Items

The following actions are available for each list item:

<table><thead><tr><th width="200.30859375">Action</th><th>Description</th></tr></thead><tbody><tr><td>Edit</td><td><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Edit</strong> icon <i class="fa-pencil">:pencil:</i> to open the edit view of the respective object.</td></tr><tr><td>Delete</td><td><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Delete</strong> icon <i class="fa-trash">:trash:</i>, then confirm the prompt that appears to delete the object.</p><div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p><strong>Please note:</strong> Deleted objects cannot be recovered.</p></div></td></tr></tbody></table>

***

## Rules: Overview

The rule overview is structured as a table.

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FzWYrXcqhWXs1dWCwrCcj%2Fenginsight-screenshot-shield-logs%20microsegmentation-rules%20overview.jpg?alt=media&amp;token=5054a4a4-bf7c-4d93-8a74-41e469d9dbab" alt=""><figcaption></figcaption></figure>

The following information is shown:

<table><thead><tr><th width="255.43359375">Column</th><th>Description</th></tr></thead><tbody><tr><td>Hosts</td><td><p>Shows the name of the rule and an additional description, if provided.</p><p></p><p>The date and time of creation and last edit are also shown.<br><br><i class="fa-computer-mouse">:computer-mouse:</i> Click the name of a rule to navigate to the respective <a href="#rules-edit-view">edit view</a>. Here you can adjust configured settings and delete the rule.</p></td></tr><tr><td>Sources</td><td><p>Shows the source microsegments, including the host names and/or IP addresses they contain.</p><p></p><p>If subnets are defined for a host, they are also shown below the host name.</p><p></p><p>If a microsegment is isolated, this is indicated by a red border.</p></td></tr><tr><td>Ports</td><td><p>Shows information about the respective connections, including the port or port range and the transport protocols used.</p><p></p><p>The red arrow indicates the direction of the connection.</p><p></p><p>The animated gray dashed line indicates that a response from the destination is permitted. If no gray dashed line is shown, no response from the destination is permitted.</p></td></tr><tr><td>Targets</td><td><p>Shows the target microsegments, including the host names and/or IP addresses they contain.</p><p></p><p>If subnets are defined for a host, they are also shown below the host name.</p><p></p><p>If a microsegment is isolated, this is indicated by a red border around the respective microsegment.</p></td></tr><tr><td>Enabled</td><td>Shows whether the rule is enabled and actively allows the connections defined in it.<br><br><i class="fa-computer-mouse">:computer-mouse:</i> Select or deselect the checkbox <i class="fa-square">:square:</i> in the <strong>Enabled</strong> column to enable or disable the respective rule.</td></tr></tbody></table>

***

## Adding a Rule&#x20;

<i class="fa-computer-mouse">:computer-mouse:</i> Click <i class="fa-plus">:plus:</i> **Add Rule** in the upper-right corner to [create a new microsegment rule](https://docs.enginsight.com/docs/manual/english/platform-usage/shield/microsegmentation/rules/add-rule.md).

***

## Rule: Edit View

<i class="fa-computer-mouse">:computer-mouse:</i> Click the name of a rule to navigate to the respective edit view. Here you can adjust [configured settings](https://docs.enginsight.com/docs/manual/english/platform-usage/shield/microsegmentation/rules/add-rule.md#general-settings) and delete the rule.

The following actions are available:

<table><thead><tr><th width="200.39453125">Option</th><th>Description</th></tr></thead><tbody><tr><td>Save Changes</td><td><p><i class="fa-computer-mouse">:computer-mouse:</i> Click <strong>Save Changes</strong> after adjusting any settings.</p><div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p><strong>Please note:</strong> Unsaved changes cannot be recovered.</p></div></td></tr><tr><td>Back</td><td><i class="fa-computer-mouse">:computer-mouse:</i> Click <strong>Back</strong> to return to the list overview.</td></tr><tr><td>Remove</td><td><p><i class="fa-computer-mouse">:computer-mouse:</i> Click <strong>Remove</strong>, then confirm the prompt that appears to delete the object that you are editing.</p><div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p><strong>Please note:</strong> Deleted objects cannot be recovered.</p></div></td></tr></tbody></table>

***
