Skip to content

Add process_vm_access fields for process_vm_readv/writev - #787

Draft
Aegrah wants to merge 1 commit into
mainfrom
process-vm-writev-readv-9.4
Draft

Add process_vm_access fields for process_vm_readv/writev#787
Aegrah wants to merge 1 commit into
mainfrom
process-vm-writev-readv-9.4

Conversation

@Aegrah

@Aegrah Aegrah commented Aug 7, 2026

Copy link
Copy Markdown

Summary

Add ECS mappings for Linux process_vm_access events so Defend documents can carry cross-process memory access details from process_vm_readv / process_vm_writev. Fields sit under process.Ext.process_vm_access.* next to other Linux process telemetry.

Issue: https://github.com/elastic/endpoint-dev/issues/21204

  • Data stream/action: process events, event.action: process_vm_access
  • Fields: target_pid, remote_addr, byte counts, and iovec counts (long); operation (keyword)
  • Semantics: bytes_transferred preserves the raw syscall return value, including negative errno values for failed attempts
  • Generation: rebased on main; sequential make clean && make all passes

Proof

  • Package generation: PASS
  • Release-aligned Fleet acceptance: 20260731T222145Z-process-vm-access (Endpoint 9.4.2)
  • Persona volume gate: 20260802T092603Z-process-vm-access-volume on endpoint-9.4.2-ac8c21cfbdbcac3d (PASS, 4h)
  • Accepted documents contained event.action=process_vm_access with operation, target PID, and byte fields

Companion PRs

Co-authored-by: Cursor <cursoragent@cursor.com>
@Aegrah
Aegrah force-pushed the process-vm-writev-readv-9.4 branch from 1db8012 to 9ac2456 Compare August 7, 2026 18:00
@Aegrah
Aegrah changed the base branch from 9.4 to main August 7, 2026 18:00
@Aegrah
Aegrah marked this pull request as ready for review August 7, 2026 18:20
@Aegrah
Aegrah requested review from a team as code owners August 7, 2026 18:20
@Aegrah
Aegrah requested review from gergoabraham and paul-tavares and removed request for gergoabraham and paul-tavares August 7, 2026 18:20
@Aegrah
Aegrah marked this pull request as draft August 7, 2026 21:47
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