Module Values.TextTransformationSource

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.

Sourcetype nonrec t = {
  1. priority : TextTransformationPriority.t;
    (*

    Sets the relative processing order for multiple transformations. WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.

    *)
  2. type_ : TextTransformationType.t;
    (*

    For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : priority:TextTransformationPriority.t -> type_:TextTransformationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of TextTransformationPriority.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