--- title: "Add the second condition with OR comparisons" slug: "add-the-second-condition-with-or-comparisons-2" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:26:59Z published: 2026-11-19T12:26:59Z canonical: "docs.trellix.com/add-the-second-condition-with-or-comparisons-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. # Add the second condition with OR comparisons Steps to add the second condition to the example signature: 1. In the **Signature Details** section, click ![GUID-F3F18CF8-B95D-4C8C-8DB8-996CDB6087FB-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-e18ed793-87a1-f95c-1c5b-8e24a797ea67(8).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D) to add the condition. The first condition is minimized and the second condition reads as **[AND THEN] Condition 2**, thus signifying the first condition must match before the second condition can be tested. **Adding conditions**![Adding conditions](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-2b450eec-0964-f819-04fc-c62953654e8e(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D) 2. Select the text of the second condition, click ![GUID-B4864D1C-95C3-4825-96BA-EAE9E98FDAC8-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-a693784a-3300-8a03-8ee6-38c820c72672(8).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D). 3. Select **Numeric Value Match** from the **Comparison Type** drop-down list. 4. Select **http** from the Protocol list. 5. Select **req-uri-length** for the Protocol Field, then **get** as the request method. 6. Select **Greater than** from the Operator drop-down list. **Configure Comparison window to select the comparator**![Configure Comparison window to select the comparator](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-fe291bb7-cffc-623a-fa44-472487002077(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D) 7. (Optional) Check the **Signed** check box if you want the value to be signed. 8. Type a length value in the **Value to Match** field. For this example, type **200** (bytes) as the length over which this comparison will match. 9. Click **Save**; you are returned to the **New Signature** window. 10. Verify that your newly added comparison appears under **Condition 2** under the heading **[AND Then]**. **View the new condition defined**![View the new condition defined](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-98139781-9d03-1b95-710e-3a93fb80ffd1(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D) 11. Click on **Condition 1**, then click ![GUID-B4864D1C-95C3-4825-96BA-EAE9E98FDAC8-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-a693784a-3300-8a03-8ee6-38c820c72672(8).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D) under **Comparisons**. 12. Select **Numeric Value Match** from the **Comparison List**. 13. Select **http** from the **Protocol**. 14. Select **req-header-length** for the **Protocol Field**, select **content-length** as the http-req-hdr-type, then select **get** as the http-req-method. 15. Select **Greater than** from the Operator drop-down list. 16. Type a length value in the **Value** field. For this example, type **1** (byte) as the length over which this comparison will match. > [!NOTE] > Note > > As stated in the **Description** field, a value of 1 byte is significant for this comparison as the normal header length of a request should be zero. ![GUID-ED7C4EFC-0849-46B8-8102-41BFE1C74BF4-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-b13497dd-90d9-348e-1e37-1faf3ed97f81(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D) 17. Click **Save**; you are returned to the **New Signature** window. 18. Verify that your newly added comparison appears beneath the first comparison you configured for **Condition 2**. The second comparison line is preceded by **[OR]** to signify the either-or relationship between the two comparisons. ![GUID-0F9285F9-F54F-4B98-91F2-F2C0FCF78E61-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9febcdc8-7bc6-c45f-a300-ac5d84dd5ddf(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A53Z&se=2026-11-20T13%3A44%3A53Z&sr=c&sp=r&sig=VGZgefnZvTHrLyvi117DjwqIISDWe3BsDd9XEQtySgo%3D) 19. Click **Update** in the signature details window. > [!NOTE] > Note > > Though there are multiple conditions and comparisons, only one signature was created; so only one signature is uploaded to the Manager. 20. Verify that the attack definition is listed on the **Native Trellix IPS Format** tab. 21. Click **Save** to save the Trellix IPS Custom Attack in the Manager server database. 22. Make sure the Trellix IPS Custom Attack is saved in the database and also published in the policies.