Values.RuleActionSourceThe 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.
type nonrec t = {block : BlockAction.t option;Instructs WAF to block the web request.
*)allow : AllowAction.t option;Instructs WAF to allow the web request.
*)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.
*)captcha : CaptchaAction.t option;Instructs WAF to run a CAPTCHA check against the web request.
*)challenge : ChallengeAction.t option;Instructs WAF to run a Challenge check against the web request.
*)}val 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 ]