Struct usiem::events::intrusion::IntrusionEvent
source · pub struct IntrusionEvent {
pub source_ip: SiemIp,
pub destination_ip: SiemIp,
pub source_port: u16,
pub destination_port: u16,
pub network_protocol: NetworkProtocol,
pub outcome: IntrusionOutcome,
pub rule_name: Cow<'static, str>,
pub rule_category: IntrusionCategory,
pub rule_id: u32,
}
Fields
source_ip: SiemIp
Ip that started the connection
destination_ip: SiemIp
IP that received the connection
source_port: u16
destination_port: u16
network_protocol: NetworkProtocol
outcome: IntrusionOutcome
rule_name: Cow<'static, str>
rule_category: IntrusionCategory
rule_id: u32
Implementations
sourceimpl IntrusionEvent
impl IntrusionEvent
pub fn source_ip(&self) -> &SiemIp
pub fn destination_ip(&self) -> &SiemIp
pub fn network_protocol(&self) -> &NetworkProtocol
pub fn outcome(&self) -> &IntrusionOutcome
pub fn rule_category(&self) -> &IntrusionCategory
pub fn rule_name(&self) -> &str
Trait Implementations
sourceimpl Clone for IntrusionEvent
impl Clone for IntrusionEvent
sourcefn clone(&self) -> IntrusionEvent
fn clone(&self) -> IntrusionEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IntrusionEvent
impl Debug for IntrusionEvent
sourceimpl Serialize for IntrusionEvent
impl Serialize for IntrusionEvent
Auto Trait Implementations
impl RefUnwindSafe for IntrusionEvent
impl Send for IntrusionEvent
impl Sync for IntrusionEvent
impl Unpin for IntrusionEvent
impl UnwindSafe for IntrusionEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more