Struct usiem::events::webproxy::WebProxyEvent
source · 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: Cow<'static, str>,
pub domain: Cow<'static, str>,
pub protocol: WebProtocol,
pub user_name: Cow<'static, str>,
pub mime_type: Cow<'static, str>,
pub outcome: WebProxyOutcome,
pub rule_name: Option<Cow<'static, str>>,
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: Cow<'static, str>
domain: Cow<'static, str>
protocol: WebProtocol
Web protocol: http, https, ftp…Only UPPERCASE
user_name: Cow<'static, str>
mime_type: Cow<'static, str>
outcome: WebProxyOutcome
rule_name: Option<Cow<'static, str>>
Rule that routed/blocked the connection
rule_category: Option<WebProxyRuleCategory>
Categorization of the traffic
Implementations
sourceimpl 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<Cow<'static, str>>
pub fn rule_category(&self) -> &Option<WebProxyRuleCategory>
Trait Implementations
sourceimpl Clone for WebProxyEvent
impl Clone for WebProxyEvent
sourcefn clone(&self) -> WebProxyEvent
fn clone(&self) -> WebProxyEvent
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 WebProxyEvent
impl Debug for WebProxyEvent
sourceimpl Serialize for WebProxyEvent
impl Serialize for WebProxyEvent
Auto Trait Implementations
impl RefUnwindSafe for WebProxyEvent
impl Send for WebProxyEvent
impl Sync for WebProxyEvent
impl Unpin for WebProxyEvent
impl UnwindSafe for WebProxyEvent
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