Module Values.JsonMatchPatternSource

The patterns to look for in the JSON body. WAF inspects the results of these pattern matches against the rule inspection criteria. This is used with the FieldToMatch option JsonBody.

Sourcetype nonrec t = {
  1. all : All.t option;
    (*

    Match all of the elements. See also MatchScope in JsonBody. You must specify either this setting or the IncludedPaths setting, but not both.

    *)
  2. includedPaths : JsonPointerPaths.t option;
    (*

    Match only the specified include paths. See also MatchScope in JsonBody. Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer. You must specify either this setting or the All setting, but not both. Don't use this option to include all paths. Instead, use the All setting.

    *)
}
Sourceval make : ?all:??? -> ?includedPaths:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of JsonPointerPath.t ] list | `Structure of 'a list ]) 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