pub struct SecurityMonitorConfig {
pub max_events_in_memory: usize,
pub max_alerts_in_memory: usize,
pub event_retention: Duration,
pub alert_retention: Duration,
pub metrics_interval: Duration,
pub enable_geolocation: bool,
pub enable_realtime: bool,
pub enable_alerts: bool,
}
Expand description
Configuration for security monitoring
Fields§
§max_events_in_memory: usize
Maximum number of events to keep in memory
max_alerts_in_memory: usize
Maximum number of alerts to keep in memory
event_retention: Duration
How long to keep events in memory
alert_retention: Duration
How long to keep alerts in memory
metrics_interval: Duration
Metrics aggregation interval
enable_geolocation: bool
Enable geographic IP lookup
enable_realtime: bool
Enable real-time monitoring
enable_alerts: bool
Enable alert processing
Trait Implementations§
Source§impl Clone for SecurityMonitorConfig
impl Clone for SecurityMonitorConfig
Source§fn clone(&self) -> SecurityMonitorConfig
fn clone(&self) -> SecurityMonitorConfig
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 SecurityMonitorConfig
impl Debug for SecurityMonitorConfig
Auto Trait Implementations§
impl Freeze for SecurityMonitorConfig
impl RefUnwindSafe for SecurityMonitorConfig
impl Send for SecurityMonitorConfig
impl Sync for SecurityMonitorConfig
impl Unpin for SecurityMonitorConfig
impl UnwindSafe for SecurityMonitorConfig
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