#[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: InspectionLevelThe 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: boolApplies 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 ==.impl StructuralPartialEq for AwsManagedRulesBotControlRuleSet
Auto Trait Implementations§
impl Freeze for AwsManagedRulesBotControlRuleSet
impl RefUnwindSafe for AwsManagedRulesBotControlRuleSet
impl Send for AwsManagedRulesBotControlRuleSet
impl Sync for AwsManagedRulesBotControlRuleSet
impl Unpin for AwsManagedRulesBotControlRuleSet
impl UnwindSafe for AwsManagedRulesBotControlRuleSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more