Skip to content

Staged rules Since v0.1 ​

Staged rules only log until a date. Use them to try a stricter rule range, or to watch a rule that causes false positives while you tune it. After the date the rules count like any other rule.

Before you begin ​

  • Role: operator for the application.

Stage rules ​

text
1. Open Applications > All applications, and select the application.
2. In the application menu, open Request checks > Access and rate limits.
3. Open the Staging and trace tab.
4. Enter Staged rules and Staged until.
5. Select Preview changes, add a comment and select Apply.
sh
waap apps set -app shop -m "try SQL range" policy.signatures.staged_rules.rules=942100,943000-943999 policy.signatures.staged_rules.until=72h
yaml
applications:
  - name: shop
    policy:
      signatures:
        staged_rules:
          rules: [942100, "944000-944999"]
          until: 2026-12-01T00:00:00Z

To end staging, remove the rules. The module then enforces them.

Settings reference ​

SettingWhat it doesDefaultAllowed valuesApplies in
Staged rules (policy.signatures.staged_rules.rules)Rules that only log.nonerule IDs, ranges (942000-942999) or API rules (api.json.*)at least one when set
Staged until (policy.signatures.staged_rules.until)When the rules start to count.none (required with rules)a time (2026-11-30T00:00:00Z) or a duration from now (72h)all

Limits ​

LimitValue
Staged rulesat most 100 entries
Deadlinerequired: staging must end

Troubleshooting ​

Preview refuses: a date is required (staging must end) ​

  • Cause: rules without Staged until.
  • Fix: set a time or a duration.