pub struct DetectionRuleMetadata {
pub detection_type: i32,
pub script_body: Option<String>,
pub enforce_signature_check: Option<bool>,
pub run_as_32_bit: Option<bool>,
}Expand description
A single detection rule from app policy metadata.
Fields§
§detection_type: i320=Registry, 1=MSI, 2=File, 3=Script
script_body: Option<String>Base64-decoded PowerShell script (type 3 only)
enforce_signature_check: Option<bool>§run_as_32_bit: Option<bool>Trait Implementations§
Source§impl Clone for DetectionRuleMetadata
impl Clone for DetectionRuleMetadata
Source§impl Debug for DetectionRuleMetadata
impl Debug for DetectionRuleMetadata
Source§impl<'de> Deserialize<'de> for DetectionRuleMetadata
impl<'de> Deserialize<'de> for DetectionRuleMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DetectionRuleMetadata
impl RefUnwindSafe for DetectionRuleMetadata
impl Send for DetectionRuleMetadata
impl Sync for DetectionRuleMetadata
impl Unpin for DetectionRuleMetadata
impl UnsafeUnpin for DetectionRuleMetadata
impl UnwindSafe for DetectionRuleMetadata
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