pub struct SiemConfig {
pub enabled: bool,
pub protocol: Option<SiemProtocol>,
pub destinations: Vec<SiemDestination>,
pub filters: Option<EventFilter>,
}Expand description
SIEM configuration
Fields§
§enabled: boolWhether SIEM integration is enabled
protocol: Option<SiemProtocol>SIEM protocol (if single protocol)
destinations: Vec<SiemDestination>SIEM destinations
filters: Option<EventFilter>Event filters
Trait Implementations§
Source§impl Clone for SiemConfig
impl Clone for SiemConfig
Source§fn clone(&self) -> SiemConfig
fn clone(&self) -> SiemConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SiemConfig
impl Debug for SiemConfig
Source§impl Default for SiemConfig
impl Default for SiemConfig
Source§fn default() -> SiemConfig
fn default() -> SiemConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SiemConfig
impl<'de> Deserialize<'de> for SiemConfig
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 SiemConfig
impl RefUnwindSafe for SiemConfig
impl Send for SiemConfig
impl Sync for SiemConfig
impl Unpin for SiemConfig
impl UnsafeUnpin for SiemConfig
impl UnwindSafe for SiemConfig
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