> 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/hosts/file-integrity-monitoring/rules.md).

# Rules

File Integrity Monitoring (FIM) rules allow you to monitor specific file operations in specific files and directories on specific hosts.

***

<i class="fa-compass">:compass:</i> Navigate to **Hosts** → **File Integrity Monitoring** → **Rules** to view a list of all configured rules.

Here, you can find rules for the severity levels **Critical**, **High**, and **Medium** that are preconfigured and managed by Enginsight.

{% hint style="info" %}
We recommend that you use the preconfigured rules even if you add custom rules. They already include critical directories that should always be monitored.
{% endhint %}

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FkHDYAULBclXmfeeDkfPL%2Fenginsight-screenshot-hosts-file%20integrity%20monitoring-rules.jpg?alt=media&amp;token=23157d7e-cc2a-4e72-9b8b-ab89343ab82c" alt=""><figcaption></figcaption></figure>

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

* which file paths are monitored on which hosts.
* what severity the monitoring of the directories assigned to the rule has.
* whether the rule is enabled.

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

***

## Navigation

<i class="fa-magnifying-glass">:magnifying-glass:</i> Click the **Text 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">:computer-mouse:</i> Click the **Refresh** icon <i class="fa-arrows-rotate-reverse">:arrows-rotate-reverse:</i> above the list to update all list items.

<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;

### Filtering the List

<i class="fa-computer-mouse">:computer-mouse:</i> Click the **Filter** icon <i class="fa-filter">:filter:</i> above the list to filter the list by predefined parameters.

<details>

<summary>Available Filter</summary>

<table><thead><tr><th width="206.60546875">Parameter</th><th width="116.515625">Type</th><th>Description</th></tr></thead><tbody><tr><td>File Path</td><td>String</td><td>Filter by a specific file path or exclude it from the results. All available file paths are shown.</td></tr><tr><td>File Path Exception</td><td>Mixed</td><td>Filter by a specific file path that is excluded from a rule, or exclude it from the results. All available file path exceptions are shown.</td></tr><tr><td>Operation</td><td>String</td><td>Filter by a specific file operation or exclude it from the results. All available operations are shown.</td></tr><tr><td>Severity</td><td>String</td><td>Filter by a specific severity level assigned to a rule, or exclude it from the results. All available severity levels are shown.</td></tr></tbody></table>

</details>

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

<i class="fa-computer-mouse">:computer-mouse:</i> Select the checkbox <i class="fa-square">:square:</i> next to a list item to select the respective item. Alternatively, select the checkbox in the table header to select all list items.

The number of selected list items is now shown next to the search field.

The <i class="fa-slider">:slider:</i> **Actions** menu also appears in the upper-right corner. Click it to expand the respective submenu. The following actions are available:

<table><thead><tr><th width="199.52734375">Action</th><th>Description</th></tr></thead><tbody><tr><td>Delete</td><td><p>Delete all selected rules. Confirm the prompt that appears by clicking <strong>Delete</strong>.</p><div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p><strong>Please note:</strong> Deleted settings cannot be restored.</p></div></td></tr><tr><td>Enable</td><td><i class="fa-eye">:eye:</i> This action is only available if all selected rules are disabled.<br><br>Enable all selected rules to start file integrity monitoring based on these rules.</td></tr><tr><td>Disable</td><td><i class="fa-eye">:eye:</i> This action is only available if all selected rules are enabled.<br><br>Disable all selected rules to stop file integrity monitoring on these rules.</td></tr></tbody></table>

***

## Rules: Overview

The rule overview is structured as a table.&#x20;

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2F6i8wTeaO0iHx3vS9paIS%2Fenginsight-screenshot-hosts-file%20integrity%20monitoring-rules%20overview.jpg?alt=media&amp;token=28e8b4af-8ee7-47d9-a7c9-4623533db743" alt=""><figcaption></figcaption></figure>

The following information is shown:

<table><thead><tr><th width="200.28515625">Column</th><th>Description</th></tr></thead><tbody><tr><td>Severity</td><td><p>Shows the severity level assigned to the respective rule.</p><p></p><p>The following severity levels can be shown:</p><ul><li><strong>Critical</strong>: The rule has a very high criticality.</li><li><strong>High</strong>: The rule has a high criticality.</li><li><strong>Medium</strong>: The rule has a medium criticality.</li><li><strong>Low</strong>: The rule has a low criticality.</li></ul></td></tr><tr><td>Name</td><td>Shows the name of the rule and an additional description, if provided. The data and time the rule was created and last edited is also shown.<br><br><i class="fa-computer-mouse">:computer-mouse:</i> Click the name of a rule to open the respective <a href="#rule-edit-view">edit view</a>. Here you can adjust configured settings and delete the rule.</td></tr><tr><td>File Paths</td><td>Shows the file paths assigned to or excluded from the rule.</td></tr><tr><td>Operations</td><td>Shows all file operations assigned to the rule.</td></tr><tr><td>Host</td><td><p>Shows the names of the hosts assigned to or excluded from the rule, as well as the tags that refer to the respective host groups.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Whether host names, tags, or both are shown depends on the <a href="https://docs.enginsight.com/docs/manual/english/platform-usage/hosts/file-integrity-monitoring/rules/add-rule.md#assigned-references">settings for the assigned hosts</a> that you configured for the respective rule.</p></div><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the name of a host to open the respective <a href="https://docs.enginsight.com/docs/manual/english/platform-usage/host-detail-view.md">host detail view</a>. </p></td></tr><tr><td>Enabled</td><td>Shows whether the corresponding rule is actively monitoring security-relevant file activity.<br><br>If the rule is enabled, this is indicated by a green <strong>Check</strong> icon <i class="fa-circle-check" style="color:green;">:circle-check:</i> . Disabled rules are indicated by a red <strong>Circle</strong> icon <i class="fa-circle" style="color:red;">:circle:</i> .</td></tr></tbody></table>

***

## Adding a Rule

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

***

## Rule: Edit View

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

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FrZ95up1DPwS1v4m66FV5%2Fenginsight-hosts-fim-rules-edit%20view.jpg?alt=media&amp;token=712e6d40-dcc0-45c7-97f6-92630b982ed2" alt=""><figcaption></figcaption></figure>

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>

***
