Values.ResponseInspectionJsonSourceConfigures inspection of the response JSON. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet. Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
type nonrec t = {identifier : FieldIdentifier.t;The identifier for the value to match against in the JSON. The identifier must be an exact match, including case. JSON examples: "Identifier": [ "/login/success" ] and "Identifier": [ "/sign-up/success" ]
*)successValues : ResponseInspectionJsonSuccessValues.t;Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values. JSON example: "SuccessValues": [ "True", "Succeeded" ]
*)failureValues : ResponseInspectionJsonFailureValues.t;Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values. JSON example: "FailureValues": [ "False", "Failed" ]
*)}val make :
identifier:FieldIdentifier.t ->
successValues:ResponseInspectionJsonSuccessValues.t ->
failureValues:ResponseInspectionJsonFailureValues.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of SuccessValue.t ] list
| `String of FieldIdentifier.t ])
list ]