Documentation
¶
Overview ¶
Package endpoint loads independent operating-system telemetry — the second witness for what an agent did on a machine. Adapters turn auditd logs, Sysmon XML exports and generic process/network/file event exports (Velociraptor, osquery, evtx_dump JSON, macOS eslogger) into one Record model that the correlation engine consumes.
Inputs are hostile evidence: bounded reads, no execution, tolerant parsing that records problems instead of aborting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadResult ¶
type LoadResult struct {
Format Format
Records []Record
Skipped int // lines/events that did not parse
Problems []string // first few parse problems, for the operator
}
LoadResult is what one file produced.
type Record ¶
type Record struct {
Time time.Time `json:"time"`
Kind string `json:"kind"` // process | network | file
PID int `json:"pid,omitempty"`
PPID int `json:"ppid,omitempty"`
Exe string `json:"exe,omitempty"`
Cmdline string `json:"cmdline,omitempty"`
ParentExe string `json:"parent_exe,omitempty"`
User string `json:"user,omitempty"`
DestIP string `json:"dest_ip,omitempty"`
DestPort int `json:"dest_port,omitempty"`
DestHost string `json:"dest_host,omitempty"`
FilePath string `json:"file_path,omitempty"`
FileOp string `json:"file_op,omitempty"` // create | delete | modify | open
Source string `json:"source"` // adapter name
Ref string `json:"ref"` // file:line or event id
}
Record is one endpoint observation.
Click to show internal directories.
Click to hide internal directories.