Signal event grouping

Use the group modifier to require signal conditions to match against a single event, or across different events over time.

Group a single event

An identifier before an open parenthesis makes every condition inside match against a single event, rather than being satisfied by different events.

CODE
group(file.operation is create AND file.path contains 'foo')

Combine groups across events

Combine multiple groups to require matches across different events over time.

CODE
group(file.operation is create AND file.path contains 'foo') AND group(file.operation is delete AND file.path contains 'bar')

This matches only if a process creates a file whose name contains foo and, at a different time, deletes a file whose name contains bar.

Constraints

A group can contain only objects of the same type. You cannot mix file and registry objects in one group, although separate groups can be combined in one expression. You also cannot apply groups to process events.