[WIP] Add fields for Linux mprotect events#767
Draft
Aegrah wants to merge 9 commits into
Draft
Conversation
Map and document the raw and decoded memory protection values emitted by Endpoint so they are queryable in process event data. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep generated process mappings aligned with the current package generator output. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove trailing blank lines so the generated documentation passes whitespace validation. Co-authored-by: Cursor <cursoragent@cursor.com>
Associate the generated package changelog entry with its draft pull request. Co-authored-by: Cursor <cursoragent@cursor.com>
Document that Linux mprotect telemetry is limited to calls requesting both read and write protection. Co-authored-by: Cursor <cursoragent@cursor.com>
Make the diagnostic gate and RW/RWX-only event scope explicit in generated package documentation.
Keep generated mappings and Linux event documentation aligned with successful X, RX, WX, and RWX collection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add queryable mappings and Linux process-event documentation for:
process.Ext.mprotect.addrprocess.Ext.mprotect.lenprocess.Ext.mprotect.protprocess.Ext.mprotect.prot_flagsThe docs describe the final contract: only successful calls requesting executable protection (X, RX, WX, or RWX) are emitted, and collection requires
advanced.events.hidden.emit_diagnostic_fields.Issue: https://github.com/elastic/endpoint-dev/issues/20408
Workflow and proof
The contract workflow regenerated the package and combined schemas, built Endpoint, ran focused unit/EAF tests, deployed the custom integration through Fleet, and asserted Elasticsearch output.
20260722T124741Z-mprotect-preflight: PASS20260722T142745Z-mprotecton Stack/Agent/Endpoint 9.4.2: PASSmake clean all, generated handoff, and schema freshness: PASS20260722T103000Z-mprotect-realistic-smoke: PASSCompanion PRs