WebAclResponseInspectionBodyContainsArgs

data class WebAclResponseInspectionBodyContainsArgs(val failureStrings: Output<List<String>>, val successStrings: Output<List<String>>) : ConvertibleToJava<WebAclResponseInspectionBodyContainsArgs>

Response body contents that indicate success or failure of a login request

Constructors

Link copied to clipboard
constructor(failureStrings: Output<List<String>>, successStrings: Output<List<String>>)

Properties

Link copied to clipboard
val failureStrings: Output<List<String>>

Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings. JSON example: "FailureStrings": [ "Request failed" ]

Link copied to clipboard
val successStrings: Output<List<String>>

Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings. JSON examples: "SuccessStrings": [ "Login successful" ] and "SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]

Functions

Link copied to clipboard
open override fun toJava(): WebAclResponseInspectionBodyContainsArgs