Skip to main content

ModulesConfig

Struct ModulesConfig 

Source
pub struct ModulesConfig {
Show 19 fields pub sqli: ModuleConfig, pub xss: ModuleConfig, pub path_traversal: ModuleConfig, pub rce: ModuleConfig, pub lfi_rfi: ModuleConfig, pub ssrf: ModuleConfig, pub ldap: ModuleConfig, pub nosql: ModuleConfig, pub mail: ModuleConfig, pub ssti: ModuleConfig, pub scanner: ModuleConfig, pub ssi: ModuleConfig, pub xxe: ModuleConfig, pub header_injection: ModuleConfig, pub request_smuggling: ModuleConfig, pub graphql: GraphqlConfig, pub grpc: GrpcConfig, pub crs: CrsConfig, pub wasm: WasmConfig,
}

Fields§

§sqli: ModuleConfig§xss: ModuleConfig§path_traversal: ModuleConfig§rce: ModuleConfig§lfi_rfi: ModuleConfig§ssrf: ModuleConfig§ldap: ModuleConfig§nosql: ModuleConfig§mail: ModuleConfig§ssti: ModuleConfig§scanner: ModuleConfig§ssi: ModuleConfig§xxe: ModuleConfig§header_injection: ModuleConfig§request_smuggling: ModuleConfig

HTTP request-smuggling framing checks (CL/TE). Structural security control, default on (see ARCHITECTURE §8).

§graphql: GraphqlConfig

GraphQL structural protections (depth / aliases / fields / directives / batch / introspection). A structural control like request_smuggling — NOT content-regex. Default OFF: it is endpoint-specific and the caps need per-app tuning (Phase 11).

§grpc: GrpcConfig

gRPC structural protections (message size / field count / nesting depth) + a compressed-payload policy. Structural, like request_smuggling/graphql — the CONTENT of protobuf fields is inspected by the normal modules via the §6 derived channel. Default OFF: gRPC needs HTTP/2 and the caps are per-app (gRPC phase).

§crs: CrsConfig

Imported OWASP CRS / ModSecurity rules (B2). The core ships the parser/engine; the curated rule CONTENT is the operator’s (or enterprise §2.4). Default OFF.

§wasm: WasmConfig

Proxy-Wasm plugin runtime (B3). The core ships the runtime; marketplace/signing is enterprise (§2.4). Each plugin is a .wasm filter run as a WafModule. Default OFF.

Trait Implementations§

Source§

impl Clone for ModulesConfig

Source§

fn clone(&self) -> ModulesConfig

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ModulesConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ModulesConfig

Source§

fn default() -> ModulesConfig

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for ModulesConfig

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.