elastic / elastic/go-libaudit

Add support for out-of-order audit messages

Open
#57 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
162
Forks
74
PR merge metrics
No merged PRs in 30d

Description

I've made a custom `audit.Assembler` to handle auditd messages at the end of a log pipeline that doesn't guarantee ordered delivery. This seems like a generally useful thing, so would you accept some PRs to get this added in?

I think this would mean refactoring `libaudit.Reassembler` to an interface and implementing a `UnorderedReassembler` struct that emits a slice of messages when it gets a complete set. FWIW, our `NewUnorderedReassembler()` has the same args as `NewReassembler()` and is used basically the same way.

I promise to also commit a bunch of tests at the same time. :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.