Module Values.RuleGroupSourceStatefulRulesHeaderDetailsSource

The inspection criteria for a stateful rule.

Sourcetype nonrec t = {
  1. destination : NonEmptyString.t option;
    (*

    The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

    *)
  2. destinationPort : NonEmptyString.t option;
    (*

    The destination port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.

    *)
  3. direction : NonEmptyString.t option;
    (*

    The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

    *)
  4. protocol : NonEmptyString.t option;
    (*

    The protocol to inspect for. To inspector for all protocols, use IP.

    *)
  5. source : NonEmptyString.t option;
    (*

    The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

    *)
  6. sourcePort : NonEmptyString.t option;
    (*

    The source port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.

    *)
}
Sourceval make : ?destination:??? -> ?destinationPort:??? -> ?direction:??? -> ?protocol:??? -> ?source:??? -> ?sourcePort:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t