🔥 3-day streak
Professional Security Operations Engineer231 / 241
Question 231 of 241

A detection engineer is writing a YARA-L single-event rule to flag a process event whose command line references any of a curated set of 40 suspicious flags stored in a reference list. During testing, the rule fires reliably, but the engineer notices the alert only shows a single matched flag even when the command line contains several. Product management asks that the detection instead only fire when the command line contains at least three DISTINCT suspicious flags from the list, and that the count be surfaced in the alert. Which change best achieves this within a single-event rule?

Reviewed for accuracy · Report an issueNext question