namespace OpenWaf.Domain.Policy; /// /// The operator's toggle over the automatic pillar (ruling R1: automatic /// blocking is a mode, the manual list is untouched by it). Three states /// rather than two, because "off" and "not yet trusted" are different /// intentions and an operator needs a way to watch the engine decide without /// letting it act. /// public enum EnforcementMode { /// Engine does not act. Observation still runs, so evidence and /// candidate bans are visible; nothing is blocked. Off = 0, /// Engine decides and records candidate bans, but the decision /// point does not enforce them. Dry run. Observe = 1, /// Engine bans are enforced at the decision point. Enforce = 2 }