Module Values.RuleActionSource

The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

Sourcetype nonrec t = {
  1. block : BlockAction.t option;
    (*

    Instructs WAF to block the web request.

    *)
  2. allow : AllowAction.t option;
    (*

    Instructs WAF to allow the web request.

    *)
  3. count : CountAction.t option;
    (*

    Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.

    *)
  4. captcha : CaptchaAction.t option;
    (*

    Instructs WAF to run a CAPTCHA check against the web request.

    *)
  5. challenge : ChallengeAction.t option;
    (*

    Instructs WAF to run a Challenge check against the web request.

    *)
}
Sourceval make : ?block:??? -> ?allow:??? -> ?count:??? -> ?captcha:??? -> ?challenge:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Integer of ResponseStatusCode.t | `List of [> `Structure of (string * [> `String of CustomHTTPHeaderName.t ]) list ] list | `String of EntityName.t ]) list ]) 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