@Generated(value="software.amazon.awssdk:codegen") public final class ResponseInspection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseInspection.Builder,ResponseInspection>
The criteria for inspecting responses to login requests and account creation requests, used by the ATP and ACFP rule groups to track login and account creation success and failure rates.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The rule groups evaluates the responses that your protected resources send back to client login and account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses with too much suspicious activity in a short amount of time.
This is part of the AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet configurations
in ManagedRuleGroupConfig.
Enable response inspection by configuring exactly one component of the response to inspect, for example,
Header or StatusCode. You can't configure more than one component for inspection. If you
don't configure any of the response inspection options, response inspection is disabled.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseInspection.Builder |
| Modifier and Type | Method and Description |
|---|---|
ResponseInspectionBodyContains |
bodyContains()
Configures inspection of the response body for success and failure indicators.
|
static ResponseInspection.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResponseInspectionHeader |
header()
Configures inspection of the response header for success and failure indicators.
|
ResponseInspectionJson |
json()
Configures inspection of the response JSON for success and failure indicators.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseInspection.Builder> |
serializableBuilderClass() |
ResponseInspectionStatusCode |
statusCode()
Configures inspection of the response status code for success and failure indicators.
|
ResponseInspection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResponseInspectionStatusCode statusCode()
Configures inspection of the response status code for success and failure indicators.
public final ResponseInspectionHeader header()
Configures inspection of the response header for success and failure indicators.
public final ResponseInspectionBodyContains bodyContains()
Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
public final ResponseInspectionJson json()
Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
public ResponseInspection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseInspection.Builder,ResponseInspection>public static ResponseInspection.Builder builder()
public static Class<? extends ResponseInspection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.