--- title: "yara match limit" slug: "yara-match-limit" tags: ["Reference", "CMS 11.x", "EX 11.x", "HX 10.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-08-04T17:23:24Z published: 2026-08-04T17:23:24Z canonical: "docs.trellix.com/yara-match-limit" 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. # yara match limit Configures the limit for YARA matches. Trellix identifies and reports on the first five (5) matching YARA rules seen for a given file. YARA rules are specific enough that only one or two rules will match malicious samples at any given time; therefore, more than five matches is usually rare. However, Trellix matches up to 5 rules in general, and for the dynamic engine, the rule with the highest weight is matched. ### Syntax `yara match limit number` ### Parameters `number` The number of matches to identify and report. The range is 0-5 and the default is 5. ### Example ``` hostname (config) # yara match limit 2 ``` ### User role Admin or Operator ### Command mode Config ### Supported appliances **Central Management System:** Release 7.5.0 **Email Security — Server:** Release 7.6.0 **Network Security:** Release 7.5.0