Struct usiem::events::intrusion::IntrusionEvent[][src]

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: u16destination_port: u16network_protocol: NetworkProtocoloutcome: IntrusionOutcomerule_name: Cow<'static, str>rule_category: IntrusionCategoryrule_id: u32

Implementations

impl IntrusionEvent[src]

pub fn source_ip(&self) -> &SiemIp[src]

pub fn destination_ip(&self) -> &SiemIp[src]

pub fn network_protocol(&self) -> &NetworkProtocol[src]

pub fn outcome(&self) -> &IntrusionOutcome[src]

pub fn rule_category(&self) -> &IntrusionCategory[src]

pub fn rule_name(&self) -> &str[src]

Trait Implementations

impl Debug for IntrusionEvent[src]

impl Serialize for IntrusionEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.