Module Values.AWSManagedRulesATPRuleSetSource

Details for your use of the account takeover prevention managed rule group, AWSManagedRulesATPRuleSet. This configuration is used in ManagedRuleGroupConfig. For additional information about this and the other intelligent threat mitigation rule groups, see Intelligent threat mitigation in WAF and Amazon Web Services Managed Rules rule groups list in the WAF Developer Guide.

Sourcetype nonrec t = {
  1. loginPath : String_.t;
    (*

    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.

    *)
  2. requestInspection : RequestInspection.t option;
    (*

    The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.

    *)
  3. responseInspection : ResponseInspection.t option;
    (*

    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.

    *)
  4. enableRegexInPath : Boolean.t option;
    (*

    Allow the use of regular expressions in the login page path.

    *)
}
Sourceval context_ : string
Sourceval make : ?requestInspection:??? -> ?responseInspection:??? -> ?enableRegexInPath:??? -> loginPath:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `List of [> `Integer of SuccessCode.t | `String of SuccessValue.t ] list | `String of FieldIdentifier.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t