pub enum Action {
Disruptive(DisruptiveAction),
Flow(FlowAction),
Metadata(MetadataAction),
Data(DataAction),
Logging(LoggingAction),
Control(ControlAction),
Transformation(String),
}Expand description
An action in a SecRule.
Variants§
Disruptive(DisruptiveAction)
Disruptive action (deny, block, pass, allow, redirect, drop).
Flow(FlowAction)
Flow control action (chain, skip, skipAfter).
Metadata(MetadataAction)
Metadata action (id, phase, severity, msg, tag, etc.).
Data(DataAction)
Data action (setvar, capture, etc.).
Logging(LoggingAction)
Logging action (log, nolog, auditlog, etc.).
Control(ControlAction)
Control action (ctl).
Transformation(String)
Transformation (t:xxx).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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