--- title: "Create a device rule" slug: "create-a-device-rule" tags: ["Product Usage", "DLP 11.12.x"] updated: 2026-09-09T08:08:33Z published: 2026-09-09T08:08:33Z canonical: "docs.trellix.com/create-a-device-rule" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a device rule Follow these general rules for creating the different types of device rules. For details about product features, usage, and best practices, click ? or Help. 1. In ePO - On-prem, select **Menu** → **Data Protection** → **DLP Policy Manager** → **Rule Sets**. 2. Select **Actions** → **New Rule Set**, or edit an existing rule set. 3. Click the rule set name to open the rule set for editing. Click the **Device Control** tab. 4. Select **Actions** → **New Rule** and select the type of rule you want to create. 5. Enter a unique **Rule Name**. 6. (Optional) Change the status and select a severity. 7. (Removable storage and plug-and-play device rules only) Deselect the **Trellix DLP Endpoint for Windows** or **Trellix DLP Endpoint for Mac OS X** checkbox if the rule applies to only one operating system. 8. On the **Condition** tab, select one or more items or groups. Some device rules allow you to optionally assign user groups or a **Process Name**. Citrix rules have resources rather than items. TrueCrypt rules only have optional user groups. > [!NOTE] > Note > > When saving the rule, the device template used to create the items or groups is validated against the operating systems selected in the **Enforce on** field. If they don't match, an error message appears. You must correct the error by deleting templates or changing the selected **Enforce on** operating system selected before you can save the rule. 9. (Optional) On the **Exceptions** tab, fill in the required fields. For some rules you have to select an exclude template, then fill in the details. 10. On the **Reaction** tab, select an **Action**. Optional: add a **User Notification**, and **Report Incident**. If you don't select **Report Incident**, there is no record of the incident in the DLP Incident Manager. 11. (Optional) Select a different action when the user is working outside the corporate network. 12. Click **Save**.