> 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/add-rule.md).

# Add Rule

<i class="fa-computer-mouse">:computer-mouse:</i> Click <i class="fa-plus">:plus:</i> **Create Rule** in the upper-right corner of the [rule overview](/docs/manual/english/platform-usage/hosts/file-integrity-monitoring/rules.md#rules-overview) to create a new rule. The **Hosts** → **File Integrity Monitoring** → **Rules** → **Add** view opens.

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FP9cpjQKCHQFethC0pEjv%2Fenginsight-screenshot-hosts-file%20integrity%20monitoring-rules-add%20rule.jpg?alt=media&amp;token=abf6d191-1829-48dd-86ef-15cfbe9fff59" alt=""><figcaption></figcaption></figure>

<i class="fa-computer-mouse">:computer-mouse:</i> After configuring all settings, click **Create Rule** to save and create the new rule.

<i class="fa-computer-mouse">:computer-mouse:</i> Click **Back** to return to the overview.

{% hint style="danger" %}
**Please note:** If you leave this view without clicking **Create Rule**, all configured settings will be permanently lost.
{% endhint %}

***

## General Settings

Here you can configure various basic settings.

<div align="left"><figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FD2XdKLzavzStwI4l0RNg%2Fenginsight-screenshot-hosts-file%20integrity%20monitoring-rules-add%20rule-general%20settings.jpg?alt=media&amp;token=477539cc-8271-4b53-bbae-bff1d82e576e" alt="" width="563"><figcaption></figcaption></figure></div>

The following options are available:

<table><thead><tr><th width="200.46875">Option</th><th>Description</th></tr></thead><tbody><tr><td>Name</td><td>Enter a meaningful name for the rule.</td></tr><tr><td>Description</td><td><p>Provide a more detailed description for the rule.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>This field is optional.</p></div></td></tr><tr><td>Severity</td><td><p>Define a severity level for the rule.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>The default severity level is <strong>High</strong>.</p></div><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Severity</strong> field to expand a list of all available severity levels, then select a severity level.</p><p><br>The following severity levels are available:</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>Operations</td><td><p>Define the file operations to which the rule applies.</p><p></p><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Operations</strong> field to expand a list of all available file operations, then select one or more file operations. Click a selected file operation again to remove it from the <strong>Operations</strong> field.<br><br>The following file operations are available:</p><ul><li><strong>Alter:</strong> File metadata, such as access permissions or ownership, is modified.</li><li><strong>Change:</strong> The file content is modified.</li><li><strong>Create:</strong> A new file is created.</li><li><strong>Delete:</strong> The file is deleted.</li><li><strong>Read:</strong> The file is read.</li></ul></td></tr><tr><td>Enabled</td><td><p>Enable the rule to monitor files and directories.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>This option is enabled by default.</p></div><p><i class="fa-computer-mouse">:computer-mouse:</i> Select or deselect the checkbox <i class="fa-square">:square:</i> next to <strong>Enabled</strong> to enable or disable the rule.</p></td></tr></tbody></table>

## Assigned References

Here you can define the hosts or groups of hosts to which the configured settings should apply.

<div align="left"><figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FYR7UyXLPL5lH4nfJExPa%2FEnginsight-EN-Assigned%20References.jpg?alt=media&amp;token=cebf4535-0c6c-4404-a071-76821b8fc228" alt=""><figcaption></figcaption></figure></div>

The following options are available:

<table><thead><tr><th width="199.625">Option</th><th>Description</th></tr></thead><tbody><tr><td>Hosts</td><td><p>Define the hosts to which the configured settings should apply.</p><p></p><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Hosts</strong> field to expand a list of all available hosts, then select one or more hosts. Alternatively, use the free-text search to find hosts in the list more quickly.<br></p><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Remove</strong> icon <i class="fa-circle-xmark">:circle-xmark:</i> next to an added host to remove it from the <strong>Hosts</strong> field.</p></td></tr><tr><td>Tag Logic</td><td><p>Define how many tags an assigned host must have for the settings to apply to it.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>The default tag logic is <strong>All Tags are Present in the Reference</strong>.</p></div><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Tag Logic</strong> field to expand a list of all available options.<br><br>The following options are available:</p><ul><li><strong>All Tags are Present in the Reference:</strong> An assigned host must have all specified tags for the settings to apply to it.</li><li><strong>At Least One of the Specified Tags is Present:</strong> An assigned host must have at least one of the specified tags for the settings to apply to it.</li></ul></td></tr><tr><td>Tags</td><td><p>Define tags for groups of hosts to which the configured settings should apply.</p><p></p><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Tags</strong> field to expand a list of all available tags, then select one or more tags. Alternatively, use the free-text search to find tags in the list more quickly.<br></p><p><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Remove</strong> icon <i class="fa-circle-xmark">:circle-xmark:</i> next to an added tag to remove it from the <strong>Tags</strong> field.</p></td></tr></tbody></table>

### Excluded References

Here you can define which hosts or groups of hosts should be explicitly excluded from the configured settings.

{% hint style="info" %}
Defining excluded hosts is optional.
{% endhint %}

<i class="fa-computer-mouse">:computer-mouse:</i> Click <i class="fa-plus">:plus:</i> **Define Exceptions** next to **Assigned Hosts** to show the options for **Excluded Hosts**.

<div align="left"><figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FOwkoC0RXeV3yJg6fqoh0%2FEnginsight-EN-Excluded%20References.jpg?alt=media&amp;token=25189e42-a39b-4936-a80a-3780807e258f" alt=""><figcaption></figcaption></figure></div>

<i class="fa-gear">:gear:</i> Configure all settings as described for an assigned host.

***

## File Paths

Here you can define file paths that should be monitored or excluded from monitoring.

<div align="left"><figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FUtS36LiBkZ1oWVVindI9%2Fenginsight-screenshot-hosts-file%20integrity%20monitoring-rules-add%20rule-filepaths.jpg?alt=media&amp;token=f7e023a6-dcc0-4ccd-b92c-212f8a316977" alt="" width="563"><figcaption></figcaption></figure></div>

The following options are available:

<table><thead><tr><th width="199.8125">Option</th><th>Description</th></tr></thead><tbody><tr><td>File Path</td><td><p>Enter a file path that should be monitored.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>You can use wildcards (*) here.</p></div></td></tr><tr><td>Add Field</td><td><i class="fa-computer-mouse">:computer-mouse:</i> Click <i class="fa-plus">:plus:</i> <strong>Add Field</strong> to add the file path to the rule and show another field in which you can enter an additional file path.</td></tr><tr><td>Delete</td><td><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Delete</strong> icon <i class="fa-trash">:trash:</i> next to an added file path to remove the respective path from the rule.</td></tr></tbody></table>

### File Path Exceptions

Here you can define file paths that should be excluded from monitoring.

{% hint style="info" %}
Specifying file path exceptions is optional.
{% endhint %}

<i class="fa-computer-mouse">:computer-mouse:</i> Click <i class="fa-plus">:plus:</i> **Add Field** to add a field in which you can enter a file path.

<div align="left"><figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2F7y8X60d2swuCgyXCHr3k%2Fenginsight-screenshot-hosts-file%20integrity%20monitoring-rules-add%20rule-filepath%20exeptions.jpg?alt=media&amp;token=805d8e85-e055-4433-8dc1-9465f33162a5" alt="" width="563"><figcaption></figcaption></figure></div>

<i class="fa-gear">:gear:</i> Configure all settings in the same way as for a file path that should be monitored.

***
