# Define an ICAP rule

When multiple jobs are running at the same time, it may be necessary to limit the number of ICAP parallel scans. To do so, we must define a specific **File Transfer Rule**.

To create a new Rule, got to **Setup** → **File Transfer Rules** and click the **NEW RULE** button in the top right corner. The **New Rule** dialog box will appear.

<figure><img src="/files/rdclq28BoZwY30ivbEsQ" alt="" width="482"><figcaption></figcaption></figure>

Select the **Create your rule** option.

<figure><img src="/files/8LiQltZrjKNezTwUruUO" alt=""><figcaption></figcaption></figure>

In the **NEW RULE** window, assign a name to the rule in the **Rule name** field. Use the name **ICAP server** to easily recognize it among other rules.

Then, you can set the limit of concurrent ICAP scans in the edit box on the right. If you set the limit to 0 no scans will be performed.

<figure><img src="/files/NEEfuXeRriTZWPEON2li" alt="" width="174"><figcaption></figcaption></figure>

Now, you can select the **conditions** in the drop-down lists on the left and the **attribute** on the right.\
To properly configure an ICAP rule, you must set these conditions and attributes:

| Condition        | Attribute                                                  |
| ---------------- | ---------------------------------------------------------- |
| **Direction**    | Outbound                                                   |
| **Role**         | Client                                                     |
| **Cluster Name** | Select the Cluster onto which you want to limit ICAP scans |

You will also need to add **two new conditions** to the rule by clicking the **Add condition** button:

| Condition       | Attribute |
| --------------- | --------- |
| **Destination** | ICAP      |
| **Protocol**    | CMD       |

On the right of the window, use the **WHEN** section to define the time interval when the Rule will be applied.

<figure><img src="/files/U7I0xbfK2S0Pa1c7iily" alt="" width="299"><figcaption></figcaption></figure>

Once you have defined all the attributes for your ICAP rule, click **Save**. Your Rule is now visible on the results list.&#x20;


---

# 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.primeur.com/data-mover-1.21/security/icap/define-an-icap-rule.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.
