Skip to content

Add event trait and remove wasted allocations when evaluating item matches#10

Merged
thomaspatzke merged 1 commit intoSigmaHQ:mainfrom
kryesh:event_trait_nofmt
Mar 8, 2026
Merged

Add event trait and remove wasted allocations when evaluating item matches#10
thomaspatzke merged 1 commit intoSigmaHQ:mainfrom
kryesh:event_trait_nofmt

Conversation

@kryesh
Copy link
Contributor

@kryesh kryesh commented Mar 5, 2026

This PR makes rule matching generic over an "Event" trait that depends only on references to prevent unnecessary allocations and allow for users to bring their own event types.
The event trait also allows for users to provide a raw event value instead of always concatenating all event field values.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants