pub struct CustomWafRule {
pub name: String,
pub vendor: String,
pub header_signatures: Vec<HeaderSignature>,
pub body_signatures: Vec<BodySignature>,
pub block_status_codes: Vec<u16>,
pub evasion_strategies: Vec<String>,
}Expand description
A single WAF detection and evasion rule.
Fields§
§name: StringHuman-readable WAF name.
vendor: StringVendor or product family.
header_signatures: Vec<HeaderSignature>HTTP response header signatures.
body_signatures: Vec<BodySignature>HTTP response body patterns.
block_status_codes: Vec<u16>HTTP status codes that indicate blocking.
evasion_strategies: Vec<String>Recommended evasion strategy names.
Trait Implementations§
Source§impl Clone for CustomWafRule
impl Clone for CustomWafRule
Source§fn clone(&self) -> CustomWafRule
fn clone(&self) -> CustomWafRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomWafRule
impl Debug for CustomWafRule
Source§impl<'de> Deserialize<'de> for CustomWafRule
impl<'de> Deserialize<'de> for CustomWafRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomWafRule
impl RefUnwindSafe for CustomWafRule
impl Send for CustomWafRule
impl Sync for CustomWafRule
impl Unpin for CustomWafRule
impl UnsafeUnpin for CustomWafRule
impl UnwindSafe for CustomWafRule
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
Mutably borrows from an owned value. Read more