Struct aws_sdk_securityhub::types::Network
source · #[non_exhaustive]pub struct Network {
pub direction: Option<NetworkDirection>,
pub protocol: Option<String>,
pub open_port_range: Option<PortRange>,
pub source_ip_v4: Option<String>,
pub source_ip_v6: Option<String>,
pub source_port: Option<i32>,
pub source_domain: Option<String>,
pub source_mac: Option<String>,
pub destination_ip_v4: Option<String>,
pub destination_ip_v6: Option<String>,
pub destination_port: Option<i32>,
pub destination_domain: Option<String>,
}
Expand description
The details of network-related information about a finding.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.direction: Option<NetworkDirection>
The direction of network traffic associated with a finding.
protocol: Option<String>
The protocol of network-related information about a finding.
open_port_range: Option<PortRange>
The range of open ports that is present on the network.
source_ip_v4: Option<String>
The source IPv4 address of network-related information about a finding.
source_ip_v6: Option<String>
The source IPv6 address of network-related information about a finding.
source_port: Option<i32>
The source port of network-related information about a finding.
source_domain: Option<String>
The source domain of network-related information about a finding.
source_mac: Option<String>
The source media access control (MAC) address of network-related information about a finding.
destination_ip_v4: Option<String>
The destination IPv4 address of network-related information about a finding.
destination_ip_v6: Option<String>
The destination IPv6 address of network-related information about a finding.
destination_port: Option<i32>
The destination port of network-related information about a finding.
destination_domain: Option<String>
The destination domain of network-related information about a finding.
Implementations§
source§impl Network
impl Network
sourcepub fn direction(&self) -> Option<&NetworkDirection>
pub fn direction(&self) -> Option<&NetworkDirection>
The direction of network traffic associated with a finding.
sourcepub fn protocol(&self) -> Option<&str>
pub fn protocol(&self) -> Option<&str>
The protocol of network-related information about a finding.
sourcepub fn open_port_range(&self) -> Option<&PortRange>
pub fn open_port_range(&self) -> Option<&PortRange>
The range of open ports that is present on the network.
sourcepub fn source_ip_v4(&self) -> Option<&str>
pub fn source_ip_v4(&self) -> Option<&str>
The source IPv4 address of network-related information about a finding.
sourcepub fn source_ip_v6(&self) -> Option<&str>
pub fn source_ip_v6(&self) -> Option<&str>
The source IPv6 address of network-related information about a finding.
sourcepub fn source_port(&self) -> Option<i32>
pub fn source_port(&self) -> Option<i32>
The source port of network-related information about a finding.
sourcepub fn source_domain(&self) -> Option<&str>
pub fn source_domain(&self) -> Option<&str>
The source domain of network-related information about a finding.
sourcepub fn source_mac(&self) -> Option<&str>
pub fn source_mac(&self) -> Option<&str>
The source media access control (MAC) address of network-related information about a finding.
sourcepub fn destination_ip_v4(&self) -> Option<&str>
pub fn destination_ip_v4(&self) -> Option<&str>
The destination IPv4 address of network-related information about a finding.
sourcepub fn destination_ip_v6(&self) -> Option<&str>
pub fn destination_ip_v6(&self) -> Option<&str>
The destination IPv6 address of network-related information about a finding.
sourcepub fn destination_port(&self) -> Option<i32>
pub fn destination_port(&self) -> Option<i32>
The destination port of network-related information about a finding.
sourcepub fn destination_domain(&self) -> Option<&str>
pub fn destination_domain(&self) -> Option<&str>
The destination domain of network-related information about a finding.