pub struct IpRules {
pub allowed: Option<Allowed>,
pub denied: Option<Denied>,
pub destination_ip_ranges: Option<Vec<String>>,
pub direction: Option<String>,
pub exposed_services: Option<Vec<String>>,
pub source_ip_ranges: Option<Vec<String>>,
}Expand description
IP rules associated with the finding.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowed: Option<Allowed>Tuple with allowed rules.
denied: Option<Denied>Tuple with denied rules.
destination_ip_ranges: Option<Vec<String>>If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
direction: Option<String>The direction that the rule is applicable to, one of ingress or egress.
exposed_services: Option<Vec<String>>Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
source_ip_ranges: Option<Vec<String>>If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.