Struct aws_sdk_wafv2::types::AwsManagedRulesAcfpRuleSet
source · #[non_exhaustive]pub struct AwsManagedRulesAcfpRuleSet {
pub creation_path: String,
pub registration_page_path: String,
pub request_inspection: Option<RequestInspectionAcfp>,
pub response_inspection: Option<ResponseInspection>,
pub enable_regex_in_path: bool,
}
Expand description
Details for your use of the account creation fraud prevention managed rule group, AWSManagedRulesACFPRuleSet
. This configuration is used in ManagedRuleGroupConfig
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.creation_path: String
The path of the account creation endpoint for your application. This is the page on your website that accepts the completed registration form for a new user. This page must accept POST
requests.
For example, for the URL https://example.com/web/newaccount
, you would provide the path /web/newaccount
. Account creation page paths that start with the path that you provide are considered a match. For example /web/newaccount
matches the account creation paths /web/newaccount
, /web/newaccount/
, /web/newaccountPage
, and /web/newaccount/thisPage
, but doesn't match the path /home/web/newaccount
or /website/newaccount
.
registration_page_path: String
The path of the account registration endpoint for your application. This is the page on your website that presents the registration form to new users.
This page must accept GET
text/html requests.
For example, for the URL https://example.com/web/registration
, you would provide the path /web/registration
. Registration page paths that start with the path that you provide are considered a match. For example /web/registration
matches the registration paths /web/registration
, /web/registration/
, /web/registrationPage
, and /web/registration/thisPage
, but doesn't match the path /home/web/registration
or /website/registration
.
request_inspection: Option<RequestInspectionAcfp>
The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts.
response_inspection: Option<ResponseInspection>
The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ACFP rule group evaluates the responses that your protected resources send back to client 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 that have had too many successful account creation attempts in a short amount of time.
enable_regex_in_path: bool
Allow the use of regular expressions in the registration page path and the account creation path.
Implementations§
source§impl AwsManagedRulesAcfpRuleSet
impl AwsManagedRulesAcfpRuleSet
sourcepub fn creation_path(&self) -> &str
pub fn creation_path(&self) -> &str
The path of the account creation endpoint for your application. This is the page on your website that accepts the completed registration form for a new user. This page must accept POST
requests.
For example, for the URL https://example.com/web/newaccount
, you would provide the path /web/newaccount
. Account creation page paths that start with the path that you provide are considered a match. For example /web/newaccount
matches the account creation paths /web/newaccount
, /web/newaccount/
, /web/newaccountPage
, and /web/newaccount/thisPage
, but doesn't match the path /home/web/newaccount
or /website/newaccount
.
sourcepub fn registration_page_path(&self) -> &str
pub fn registration_page_path(&self) -> &str
The path of the account registration endpoint for your application. This is the page on your website that presents the registration form to new users.
This page must accept GET
text/html requests.
For example, for the URL https://example.com/web/registration
, you would provide the path /web/registration
. Registration page paths that start with the path that you provide are considered a match. For example /web/registration
matches the registration paths /web/registration
, /web/registration/
, /web/registrationPage
, and /web/registration/thisPage
, but doesn't match the path /home/web/registration
or /website/registration
.
sourcepub fn request_inspection(&self) -> Option<&RequestInspectionAcfp>
pub fn request_inspection(&self) -> Option<&RequestInspectionAcfp>
The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts.
sourcepub fn response_inspection(&self) -> Option<&ResponseInspection>
pub fn response_inspection(&self) -> Option<&ResponseInspection>
The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ACFP rule group evaluates the responses that your protected resources send back to client 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 that have had too many successful account creation attempts in a short amount of time.
sourcepub fn enable_regex_in_path(&self) -> bool
pub fn enable_regex_in_path(&self) -> bool
Allow the use of regular expressions in the registration page path and the account creation path.
source§impl AwsManagedRulesAcfpRuleSet
impl AwsManagedRulesAcfpRuleSet
sourcepub fn builder() -> AwsManagedRulesAcfpRuleSetBuilder
pub fn builder() -> AwsManagedRulesAcfpRuleSetBuilder
Creates a new builder-style object to manufacture AwsManagedRulesAcfpRuleSet
.
Trait Implementations§
source§impl Clone for AwsManagedRulesAcfpRuleSet
impl Clone for AwsManagedRulesAcfpRuleSet
source§fn clone(&self) -> AwsManagedRulesAcfpRuleSet
fn clone(&self) -> AwsManagedRulesAcfpRuleSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsManagedRulesAcfpRuleSet
impl Debug for AwsManagedRulesAcfpRuleSet
source§impl PartialEq for AwsManagedRulesAcfpRuleSet
impl PartialEq for AwsManagedRulesAcfpRuleSet
source§fn eq(&self, other: &AwsManagedRulesAcfpRuleSet) -> bool
fn eq(&self, other: &AwsManagedRulesAcfpRuleSet) -> bool
self
and other
values to be equal, and is used
by ==
.