--- title: "Enabling and disabling Trellix YARA rules using the CLI" slug: "enabling-and-disabling-trellix-yara-rules-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:10Z published: 2026-08-24T19:53:10Z canonical: "docs.trellix.com/enabling-and-disabling-trellix-yara-rules-using-the-cli" stale: true --- > ## 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. # Enabling and disabling Trellix YARA rules using the CLI Use the commands in this procedure to enable or disable Trellix YARA rules on your Email Security - Server appliance. You cannot use the Web UI to configure YARA rules. ### Prerequisites - An established connection between the Email Security - Server appliance and the Internet. - Administrator or Operator access to the Email Security - Server appliance. **To enable or disable Trellix YARA rules:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable the Trellix YARA rules. - To enable the Trellix YARA rules: ``` hostname (config) # yara policy fe ``` - To disable the Trellix YARA rules: ``` hostname (config) # yara policy disable ``` 3. Verify your configuration. ``` hostname (config) # show static-analysis config ..... Yara Configuration Yara policy                          : fe ..... ``` 4. Save your changes. ``` hostname (config) # write memory Saving configuration file ... Done! ```