Conversation
…ents os_processes answers with a single OS_PROCESSES_REP whose PROCESSES list holds every running process, not one EXISTING_PROCESS event per process. netstat answers with a single NETSTAT_REP whose NETWORK_ACTIVITY list holds each connection, not NETWORK_CONNECTIONS. Both sample responses now show the fields the sensor actually sends (SOURCE/DESTINATION objects, PROCESS_ID, PROTOCOL and a numeric STATE for netstat; the PROCESSES list for os_processes). Verified 2026-09-24 against Endpoint Agent 5.3.9 by tasking both commands on a Linux and a Windows sensor: the replies were OS_PROCESSES_REP (98 and 84 processes) and NETSTAT_REP (12 and 56 connections), with no EXISTING_PROCESS events. This matches the EDR Events reference, which already lists both _REP events. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X6h9smaXGQuviYJPcGFAkQ
LimaCharlie Cloud Security — code scanNo new code findings were introduced by this pull request. This check reports and never fails: no Scanned This comment is updated in place on every push to this pull request. |
This branch has not been deployed
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.
What's wrong today
The Endpoint Commands reference gives the wrong response event for two commands:
os_processessays EXISTING_PROCESS (multiple events, one per process). The sensor actually answers with a singleOS_PROCESSES_REPwhosePROCESSESlist holds every running process.netstatsays NETWORK_CONNECTIONS. The sensor actually answers with a singleNETSTAT_REPwhoseNETWORK_ACTIVITYlist holds each connection.The
netstatsample response also used field names the sensor doesn't send (LOCAL_ADDRESS,LOCAL_PORT,REMOTE_ADDRESS,REMOTE_PORT,PID,PROCESS, and a stringSTATE).The change
_REPevent and say what the list holds.os_processesreturns aPROCESSESlist;netstatreturnsSOURCE/DESTINATIONobjects,PROCESS_ID,PROTOCOLand a numericSTATE.This matches the EDR Events reference, which already lists
OS_PROCESSES_REPandNETSTAT_REP.How it was verified
On 2026-09-24, both commands were tasked on Endpoint Agent 5.3.9 sensors:
os_processesreplynetstatreplyOS_PROCESSES_REP, 98 processesNETSTAT_REP, 12 connectionsOS_PROCESSES_REP, 84 processesNETSTAT_REP, 56 connectionsNo
EXISTING_PROCESSevents came back for either command. The periodicNETWORK_CONNECTIONSevents seen on the Linux host carry no investigation ID, so they are the sensor's regular telemetry, not thenetstatreply.Not verified: macOS (no Mac sensor available).
mkdocs build --strictpasses andpytest tests/passes (215 tests).🤖 Generated with Claude Code
https://claude.ai/code/session_01X6h9smaXGQuviYJPcGFAkQ