pub struct EventGatekeeperUserOverride<'a> { /* private fields */ }Available on macOS and crate feature
macos_15_0_0 only.Expand description
Notification for a gatekeeper_user_override event.
This event type does not support caching (notify-only).
Hashes are calculated in usermode by Gatekeeper. There is no guarantee that any other program including the kernel will observe the same file at the reported path. Furthermore, there is no guarantee that the CDHash is valid or that it matches the containing binary.
Implementations§
Source§impl<'a> EventGatekeeperUserOverride<'a>
impl<'a> EventGatekeeperUserOverride<'a>
Sourcepub fn file(&self) -> Option<GatekeeperFile<'a>>
pub fn file(&self) -> Option<GatekeeperFile<'a>>
Describes the target file that is being overridden by the user.
If Endpoint security can’t lookup the file at event submission it will
emit a path instead of a File.
Sourcepub fn sha256(&self) -> &[u8; 32]
pub fn sha256(&self) -> &[u8; 32]
SHA256 of the file.
Provided if the filesize is less than 100MB.
Sourcepub fn signing_info(&self) -> Option<SignedFileInfo<'_>>
pub fn signing_info(&self) -> Option<SignedFileInfo<'_>>
Signing Information, available if the file has been signed.
Trait Implementations§
Source§impl<'a> Debug for EventGatekeeperUserOverride<'a>
impl<'a> Debug for EventGatekeeperUserOverride<'a>
impl<'a> Eq for EventGatekeeperUserOverride<'a>
Source§impl<'a> Hash for EventGatekeeperUserOverride<'a>
impl<'a> Hash for EventGatekeeperUserOverride<'a>
Source§impl<'a> PartialEq for EventGatekeeperUserOverride<'a>
impl<'a> PartialEq for EventGatekeeperUserOverride<'a>
impl Send for EventGatekeeperUserOverride<'_>
impl Sync for EventGatekeeperUserOverride<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventGatekeeperUserOverride<'a>
impl<'a> RefUnwindSafe for EventGatekeeperUserOverride<'a>
impl<'a> Unpin for EventGatekeeperUserOverride<'a>
impl<'a> UnsafeUnpin for EventGatekeeperUserOverride<'a>
impl<'a> UnwindSafe for EventGatekeeperUserOverride<'a>
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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