The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Enabling and disabling Trellix YARA rules using the CLI

Prev Next

Use the commands in this procedure to enable or disable Trellix YARA rules on your Network Security appliance. You cannot use the Web UI to configure YARA rules.

Note

You cannot configure YARA rules using the sensor CLI.

Prerequisites

  • An established connection between the Network Security appliance and the Internet.

  • Administrator or Operator access to the Network Security 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!