--- title: "Import snort rules through a conf file" slug: "import-snort-rules-through-a-conf-file-2" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:27:13Z published: 2026-11-19T12:27:13Z canonical: "docs.trellix.com/import-snort-rules-through-a-conf-file-2" --- > ## 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. # Import snort rules through a conf file **Prerequisites:** Make sure of the following before you begin importing the conf file: - You have all the rules files containing the rules that you want to import. The conf file has references to each rules file that you want to import. That is, the rules files are called from the config file using the include keyword and the absolute or relative path to the files. You can also use a variable to denote the path. - All the variables, classifications, and references used in the rules are either defined in the conf, or the rules files up front, or available already in the Manager. - Depending on how the rules have been constructed, the conf file may be referencing some files in addition to the rules files. Make sure all the files called by the conf file are in place. - Each rule must have a globally unique Snort rule ID (SID) for it to be converted and saved in the Manager database. A rule is not considered for import, if the SID and revision number are same as that of a rule imported earlier. If the SID is same but not the revision number, then the rule with the highest revision number is retained. This section provides the steps for importing Snort rules into the Manager using a conf file. **Steps:** 1. Select **Policy** → **** → **Intrusion Prevention** → **Policy Types** → **IPS**. Click **Custom Attacks**. ![GUID-9144510D-2624-4AC6-A2A6-10DBEE009363-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-093bd73b-2436-d812-e6d4-e88b98b05749(8).png?sv=2026-02-06&spr=https&st=2026-11-20T13%3A55%3A19Z&se=2026-11-20T14%3A55%3A19Z&sr=c&sp=r&sig=xMVmMsahv1cTOrnruhsfrGT1THnI7LlzNp7TIE6Oi2o%3D) 2. In the **Custom Attack Editor** of the **Snort Format** tab, click **Other Actions** → **Import** . ![GUID-E1B17790-0E9D-482F-94B0-3FBF3C72DE94-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-1d79d13a-b167-55c9-3f75-d2a12c83a8a3(8).png?sv=2026-02-06&spr=https&st=2026-11-20T13%3A55%3A19Z&se=2026-11-20T14%3A55%3A19Z&sr=c&sp=r&sig=xMVmMsahv1cTOrnruhsfrGT1THnI7LlzNp7TIE6Oi2o%3D) 3. Navigate to the .conf file to be imported. 4. Click **Open**. All the rules are imported into the Manager and the valid ones are converted to Trellix IPS's format. There could be some rules that were successfully converted to Trellix IPS's format, some converted with warnings, and some that failed to convert. 5. Select a **Protection Category** value. **Import rules window**![Import rules window](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0b628cf7-543b-89d1-b0a7-c213d7ee218a(8).png?sv=2026-02-06&spr=https&st=2026-11-20T13%3A55%3A19Z&se=2026-11-20T14%3A55%3A19Z&sr=c&sp=r&sig=xMVmMsahv1cTOrnruhsfrGT1THnI7LlzNp7TIE6Oi2o%3D) 6. Click **Import**. 7. You can refer to the section [Managing Snort rules](/network-and-platform/docs/managing-snort-rules-2) to: - View the details of the imported Snort rules - Know which rules converted successfully, which converted with warnings, and which failed to convert