Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various PID enrichment changes #189

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

hillu
Copy link
Collaborator

@hillu hillu commented Jan 10, 2024

Enrich SYSCALL.ppid also for non-exec syscalls.

Enrich SYSCALL.pid even if we only know the process start time.

Filter early on labels: We don't need to add enriched data to an event if we are going to drop it anyway.

Refactor adding process info (*pid) to Record into Coalesce::enrich_pid(). Use this code for all pid enrichment except PARENT_INFO (which is going away anyhow).

Refactor enrichments that's done for generic records into Coalesce::enrich_generic().

Enrich SYSCALL.ppid also for non-exec syscalls.

Enrich SYSCALL.pid even if we only know the process start time.

Filter early on labels: We don't need to add enriched data to an
event if we are going to drop it anyway.

Refactor adding process info (*pid) to Record into
Coalesce::enrich_pid(). Use this code for all pid enrichment except
PARENT_INFO (which is going away anyhow).

Refactor enrichments that's done for generic records into
Coalesce::enrich_generic().
@hillu hillu merged commit eaa1d8f into threathunters-io:master Jan 10, 2024
5 checks passed
@n9 n9 mentioned this pull request Jan 10, 2024
@hillu hillu deleted the fix-pid-enrichment branch January 10, 2024 22:14
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