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: u16
destination_port: u16
network_protocol: NetworkProtocol
outcome: IntrusionOutcome
rule_name: Cow<'static, str>
rule_category: IntrusionCategory
rule_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
impl RefUnwindSafe for IntrusionEvent
impl Send for IntrusionEvent
impl Sync for IntrusionEvent
impl Unpin for IntrusionEvent
impl UnwindSafe for IntrusionEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,