pub struct IntuneEvent {Show 16 fields
pub id: u64,
pub event_type: IntuneEventType,
pub name: String,
pub guid: Option<String>,
pub status: IntuneStatus,
pub start_time: Option<String>,
pub end_time: Option<String>,
pub duration_secs: Option<f64>,
pub error_code: Option<String>,
pub detail: String,
pub source_file: String,
pub line_number: u32,
pub start_time_epoch: Option<i64>,
pub end_time_epoch: Option<i64>,
pub script_body: Option<String>,
pub parent_app_guid: Option<String>,
}Expand description
A single Intune event extracted from log analysis.
Fields§
§id: u64Unique identifier for this event
event_type: IntuneEventTypeEvent type category
name: StringDisplay name (resolved from GUID or extracted from context)
guid: Option<String>GUID identifier if available
status: IntuneStatusStatus of the operation
start_time: Option<String>Timestamp of event start (ISO 8601 string)
end_time: Option<String>Timestamp of event end (ISO 8601 string)
duration_secs: Option<f64>Duration in seconds
error_code: Option<String>Error code if failed
detail: StringAdditional detail message
source_file: StringSource log file path
line_number: u32Line number in source file
start_time_epoch: Option<i64>Start time as milliseconds since Unix epoch (pre-computed for fast frontend sorting)
end_time_epoch: Option<i64>End time as milliseconds since Unix epoch (pre-computed for fast frontend sorting)
script_body: Option<String>Decoded PowerShell script body (for script detection events)
parent_app_guid: Option<String>GUID of the parent Win32App this script detection belongs to
Implementations§
Source§impl IntuneEvent
impl IntuneEvent
Sourcepub fn status_is_failed(&self) -> bool
pub fn status_is_failed(&self) -> bool
Is this event in a failed state?
Sourcepub fn start_time_epoch_ms(&self) -> Option<i64>
pub fn start_time_epoch_ms(&self) -> Option<i64>
Start time as epoch milliseconds, if known.
Sourcepub fn anchor_guid(&self) -> Option<&str>
pub fn anchor_guid(&self) -> Option<&str>
GUID anchoring this event (app/policy ID), if known.
Sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
Human-readable display label (app/script name).
Sourcepub fn event_kind_label(&self) -> Option<&str>
pub fn event_kind_label(&self) -> Option<&str>
Short label describing the kind of Intune operation this event represents.