#[non_exhaustive]pub struct AwsManagedRulesBotControlRuleSet {
pub inspection_level: InspectionLevel,
pub enable_machine_learning: bool,
}
Expand description
Details for your use of the Bot Control managed rule group, AWSManagedRulesBotControlRuleSet
. 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.inspection_level: InspectionLevel
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
enable_machine_learning: bool
Applies only to the targeted inspection level.
Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rules TGT_ML_CoordinatedActivityLow
and TGT_ML_CoordinatedActivityMedium
, which inspect for anomalous behavior that might indicate distributed, coordinated bot activity.
For more information about this choice, see the listing for these rules in the table at Bot Control rules listing in the WAF Developer Guide.
Default: TRUE
Implementations§
source§impl AwsManagedRulesBotControlRuleSet
impl AwsManagedRulesBotControlRuleSet
sourcepub fn inspection_level(&self) -> &InspectionLevel
pub fn inspection_level(&self) -> &InspectionLevel
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
sourcepub fn enable_machine_learning(&self) -> bool
pub fn enable_machine_learning(&self) -> bool
Applies only to the targeted inspection level.
Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rules TGT_ML_CoordinatedActivityLow
and TGT_ML_CoordinatedActivityMedium
, which inspect for anomalous behavior that might indicate distributed, coordinated bot activity.
For more information about this choice, see the listing for these rules in the table at Bot Control rules listing in the WAF Developer Guide.
Default: TRUE
source§impl AwsManagedRulesBotControlRuleSet
impl AwsManagedRulesBotControlRuleSet
sourcepub fn builder() -> AwsManagedRulesBotControlRuleSetBuilder
pub fn builder() -> AwsManagedRulesBotControlRuleSetBuilder
Creates a new builder-style object to manufacture AwsManagedRulesBotControlRuleSet
.
Trait Implementations§
source§impl Clone for AwsManagedRulesBotControlRuleSet
impl Clone for AwsManagedRulesBotControlRuleSet
source§fn clone(&self) -> AwsManagedRulesBotControlRuleSet
fn clone(&self) -> AwsManagedRulesBotControlRuleSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsManagedRulesBotControlRuleSet
impl PartialEq for AwsManagedRulesBotControlRuleSet
source§fn eq(&self, other: &AwsManagedRulesBotControlRuleSet) -> bool
fn eq(&self, other: &AwsManagedRulesBotControlRuleSet) -> bool
self
and other
values to be equal, and is used
by ==
.