@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSManagedRulesATPRuleSet extends Object implements Serializable, Cloneable, StructuredPojo
Details for your use of the account takeover prevention managed rule group, AWSManagedRulesATPRuleSet
.
This configuration is used in ManagedRuleGroupConfig
.
Constructor and Description |
---|
AWSManagedRulesATPRuleSet() |
Modifier and Type | Method and Description |
---|---|
AWSManagedRulesATPRuleSet |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableRegexInPath()
Allow the use of regular expressions in the login page path.
|
String |
getLoginPath()
The path of the login endpoint for your application.
|
RequestInspection |
getRequestInspection()
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
|
ResponseInspection |
getResponseInspection()
The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.
|
int |
hashCode() |
Boolean |
isEnableRegexInPath()
Allow the use of regular expressions in the login page path.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnableRegexInPath(Boolean enableRegexInPath)
Allow the use of regular expressions in the login page path.
|
void |
setLoginPath(String loginPath)
The path of the login endpoint for your application.
|
void |
setRequestInspection(RequestInspection requestInspection)
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
|
void |
setResponseInspection(ResponseInspection responseInspection)
The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.
|
String |
toString()
Returns a string representation of this object.
|
AWSManagedRulesATPRuleSet |
withEnableRegexInPath(Boolean enableRegexInPath)
Allow the use of regular expressions in the login page path.
|
AWSManagedRulesATPRuleSet |
withLoginPath(String loginPath)
The path of the login endpoint for your application.
|
AWSManagedRulesATPRuleSet |
withRequestInspection(RequestInspection requestInspection)
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
|
AWSManagedRulesATPRuleSet |
withResponseInspection(ResponseInspection responseInspection)
The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.
|
public void setLoginPath(String loginPath)
The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login
, you would provide the path /web/login
. Login paths that
start with the path that you provide are considered a match. For example /web/login
matches the
login paths /web/login
, /web/login/
, /web/loginPage
, and
/web/login/thisPage
, but doesn't match the login path /home/web/login
or
/website/login
.
The rule group inspects only HTTP POST
requests to your specified login endpoint.
loginPath
- The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login
, you would provide the path /web/login
. Login
paths that start with the path that you provide are considered a match. For example
/web/login
matches the login paths /web/login
, /web/login/
,
/web/loginPage
, and /web/login/thisPage
, but doesn't match the login path
/home/web/login
or /website/login
.
The rule group inspects only HTTP POST
requests to your specified login endpoint.
public String getLoginPath()
The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login
, you would provide the path /web/login
. Login paths that
start with the path that you provide are considered a match. For example /web/login
matches the
login paths /web/login
, /web/login/
, /web/loginPage
, and
/web/login/thisPage
, but doesn't match the login path /home/web/login
or
/website/login
.
The rule group inspects only HTTP POST
requests to your specified login endpoint.
https://example.com/web/login
, you would provide the path /web/login
. Login
paths that start with the path that you provide are considered a match. For example
/web/login
matches the login paths /web/login
, /web/login/
,
/web/loginPage
, and /web/login/thisPage
, but doesn't match the login path
/home/web/login
or /website/login
.
The rule group inspects only HTTP POST
requests to your specified login endpoint.
public AWSManagedRulesATPRuleSet withLoginPath(String loginPath)
The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login
, you would provide the path /web/login
. Login paths that
start with the path that you provide are considered a match. For example /web/login
matches the
login paths /web/login
, /web/login/
, /web/loginPage
, and
/web/login/thisPage
, but doesn't match the login path /home/web/login
or
/website/login
.
The rule group inspects only HTTP POST
requests to your specified login endpoint.
loginPath
- The path of the login endpoint for your application. For example, for the URL
https://example.com/web/login
, you would provide the path /web/login
. Login
paths that start with the path that you provide are considered a match. For example
/web/login
matches the login paths /web/login
, /web/login/
,
/web/loginPage
, and /web/login/thisPage
, but doesn't match the login path
/home/web/login
or /website/login
.
The rule group inspects only HTTP POST
requests to your specified login endpoint.
public void setRequestInspection(RequestInspection requestInspection)
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
requestInspection
- The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.public RequestInspection getRequestInspection()
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
public AWSManagedRulesATPRuleSet withRequestInspection(RequestInspection requestInspection)
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
requestInspection
- The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.public void setResponseInspection(ResponseInspection responseInspection)
The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
responseInspection
- The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure
rates. Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
public ResponseInspection getResponseInspection()
The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
public AWSManagedRulesATPRuleSet withResponseInspection(ResponseInspection responseInspection)
The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
responseInspection
- The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure
rates. Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
public void setEnableRegexInPath(Boolean enableRegexInPath)
Allow the use of regular expressions in the login page path.
enableRegexInPath
- Allow the use of regular expressions in the login page path.public Boolean getEnableRegexInPath()
Allow the use of regular expressions in the login page path.
public AWSManagedRulesATPRuleSet withEnableRegexInPath(Boolean enableRegexInPath)
Allow the use of regular expressions in the login page path.
enableRegexInPath
- Allow the use of regular expressions in the login page path.public Boolean isEnableRegexInPath()
Allow the use of regular expressions in the login page path.
public String toString()
toString
in class Object
Object.toString()
public AWSManagedRulesATPRuleSet clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.