pub struct SysmonConfig {
pub target_module: Option<PathBuf>,
pub proc_offsets_max_entries: u32,
pub perf_page_count: Option<usize>,
pub event_mask: SysmonEventMask,
pub map_change_unfiltered: bool,
pub watched_pid: Option<u32>,
pub watched_pid_ns: Option<PidNamespaceId>,
pub event_pid_ns: Option<PidNamespaceId>,
pub watched_proc_pid: Option<u32>,
}Expand description
Configuration for sysmon
Fields§
§target_module: Option<PathBuf>If set, only attempt offsets prefill for events whose binary/module path matches this target.
proc_offsets_max_entries: u32Maximum number of entries for the pinned proc offsets map (used when ensuring existence).
perf_page_count: Option<usize>PerfEventArray per-CPU buffer pages (used when ringbuf is unavailable).
event_mask: SysmonEventMaskInternal event selector for the sysmon eBPF side.
map_change_unfiltered: boolWhether map-change events should be emitted before the PID allowlist is populated.
watched_pid: Option<u32>Optional event PID to watch. None means system-wide.
watched_pid_ns: Option<PidNamespaceId>Optional PID namespace for interpreting watched_pid.
event_pid_ns: Option<PidNamespaceId>Optional PID namespace for reporting target-mode event TGIDs.
watched_proc_pid: Option<u32>Optional /proc PID corresponding to watched_pid.
Implementations§
Source§impl SysmonConfig
impl SysmonConfig
Trait Implementations§
Source§impl Clone for SysmonConfig
impl Clone for SysmonConfig
Source§fn clone(&self) -> SysmonConfig
fn clone(&self) -> SysmonConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SysmonConfig
impl Debug for SysmonConfig
Auto Trait Implementations§
impl Freeze for SysmonConfig
impl RefUnwindSafe for SysmonConfig
impl Send for SysmonConfig
impl Sync for SysmonConfig
impl Unpin for SysmonConfig
impl UnsafeUnpin for SysmonConfig
impl UnwindSafe for SysmonConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more