pub struct EventXpMalwareDetected<'a> { /* private fields */ }
Available on crate feature
macos_13_0_0
and macOS only.Expand description
XProtect detected malware.
Implementations§
Source§impl<'a> EventXpMalwareDetected<'a>
impl<'a> EventXpMalwareDetected<'a>
Sourcepub fn signature_version(&self) -> &'a OsStr
pub fn signature_version(&self) -> &'a OsStr
Version of the signatures used for detection. Currently corresponds to XProtect version.
Sourcepub fn malware_identifier(&self) -> &'a OsStr
pub fn malware_identifier(&self) -> &'a OsStr
String identifying the malware that was detected.
Sourcepub fn incident_identifier(&self) -> &'a OsStr
pub fn incident_identifier(&self) -> &'a OsStr
String identifying the incident, intended for linking multiple malware detected and remediated events.
Sourcepub fn detected_path(&self) -> &'a OsStr
pub fn detected_path(&self) -> &'a OsStr
Path where malware was detected. This path is not necessarily a malicious binary, it can also be a legitimate file containing a malicious portion.
Trait Implementations§
Source§impl<'a> Debug for EventXpMalwareDetected<'a>
impl<'a> Debug for EventXpMalwareDetected<'a>
Source§impl<'a> Hash for EventXpMalwareDetected<'a>
impl<'a> Hash for EventXpMalwareDetected<'a>
Source§impl<'a> PartialEq for EventXpMalwareDetected<'a>
impl<'a> PartialEq for EventXpMalwareDetected<'a>
impl<'a> Eq for EventXpMalwareDetected<'a>
impl Send for EventXpMalwareDetected<'_>
impl Sync for EventXpMalwareDetected<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventXpMalwareDetected<'a>
impl<'a> RefUnwindSafe for EventXpMalwareDetected<'a>
impl<'a> Unpin for EventXpMalwareDetected<'a>
impl<'a> UnwindSafe for EventXpMalwareDetected<'a>
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