pub struct WebProxyEvent {Show 15 fields
pub source_ip: SiemIp,
pub destination_ip: SiemIp,
pub destination_port: u16,
pub in_bytes: u32,
pub out_bytes: u32,
pub http_code: u32,
pub http_method: HttpMethod,
pub url: LogString,
pub domain: LogString,
pub protocol: WebProtocol,
pub user_name: LogString,
pub mime_type: LogString,
pub outcome: WebProxyOutcome,
pub rule_name: Option<LogString>,
pub rule_category: Option<WebProxyRuleCategory>,
}Fields§
§source_ip: SiemIp§destination_ip: SiemIp§destination_port: u16§in_bytes: u32§out_bytes: u32§http_code: u32§http_method: HttpMethod§url: LogString§domain: LogString§protocol: WebProtocolWeb protocol: http, https, ftp…Only UPPERCASE
user_name: LogString§mime_type: LogString§outcome: WebProxyOutcome§rule_name: Option<LogString>Rule that routed/blocked the connection
rule_category: Option<WebProxyRuleCategory>Categorization of the traffic
Implementations§
Source§impl WebProxyEvent
impl WebProxyEvent
pub fn source_ip(&self) -> &SiemIp
pub fn destination_ip(&self) -> &SiemIp
pub fn protocol(&self) -> &WebProtocol
pub fn outcome(&self) -> &WebProxyOutcome
pub fn http_method(&self) -> &HttpMethod
pub fn user_name(&self) -> &str
pub fn mime_type(&self) -> &str
pub fn url(&self) -> &str
pub fn domain(&self) -> &str
pub fn rule_name(&self) -> &Option<LogString>
pub fn rule_category(&self) -> &Option<WebProxyRuleCategory>
Trait Implementations§
Source§impl Clone for WebProxyEvent
impl Clone for WebProxyEvent
Source§fn clone(&self) -> WebProxyEvent
fn clone(&self) -> WebProxyEvent
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 WebProxyEvent
impl Debug for WebProxyEvent
Source§impl<'de> Deserialize<'de> for WebProxyEvent
impl<'de> Deserialize<'de> for WebProxyEvent
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
Source§impl From<WebProxyEvent> for SiemLog
impl From<WebProxyEvent> for SiemLog
Source§fn from(val: WebProxyEvent) -> Self
fn from(val: WebProxyEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WebProxyEvent
impl RefUnwindSafe for WebProxyEvent
impl Send for WebProxyEvent
impl Sync for WebProxyEvent
impl Unpin for WebProxyEvent
impl UnwindSafe for WebProxyEvent
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