Skip to content

refactor(event): Introduce event decoder#665

Merged
rabbitstack merged 1 commit into
masterfrom
refactor-event-param-decoding
May 12, 2026
Merged

refactor(event): Introduce event decoder#665
rabbitstack merged 1 commit into
masterfrom
refactor-event-param-decoding

Conversation

@rabbitstack
Copy link
Copy Markdown
Owner

What is the purpose of this PR / why it is needed?

Add a dedicated parameter decoder responsible for extracting and interpreting event parameters from raw byte payloads. The decoder is designed with a modular approach where each method handles a specific type of event type or a group of events, enabling clearer separation of concerns and easier extensibility for future event formats.

This refactor improves readability, maintainability, and correctness of event parsing logic, while making it easier to extend support for new event and parameter types in the future.

What type of change does this PR introduce?


Uncomment one or more /kind <> lines:

/kind feature (non-breaking change which adds functionality)

/kind bug-fix (non-breaking change which fixes an issue)

/kind refactor (non-breaking change that restructures the code, while not changing the original functionality)

/kind breaking (fix or feature that would cause existing functionality to not work as expected

/kind cleanup

/kind improvement

/kind design

/kind documentation

/kind other (change that doesn't pertain to any of the above categories)

Any specific area of the project related to this PR?


Uncomment one or more /area <> lines:

/area instrumentation

/area telemetry

/area rule-engine

/area filters

/area yara

/area event

/area captures

/area alertsenders

/area outputs

/area rules

/area filaments

/area config

/area cli

/area tests

/area ci

/area build

/area docs

/area deps

/area evasion

/area other

Special notes for the reviewer


Does this PR introduce a user-facing change?


@rabbitstack rabbitstack force-pushed the refactor-event-param-decoding branch 2 times, most recently from 2991fa1 to 1db15d9 Compare May 12, 2026 16:29
Add a dedicated parameter decoder responsible for extracting and interpreting event parameters from raw byte payloads. The decoder
is designed with a modular approach where each method handles a specific type of event type or a group of events, enabling clearer separation
of concerns and easier extensibility for future event formats.

This refactor improves readability, maintainability, and correctness of event parsing logic, while making it easier to extend support for
new event and parameter types in the future.
@rabbitstack rabbitstack merged commit 9fdda45 into master May 12, 2026
17 of 19 checks passed
@rabbitstack rabbitstack deleted the refactor-event-param-decoding branch May 12, 2026 19:16
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.

1 participant