Skip to content

Step 4 — THEN: Decide What Happens Next

After a rule matches and its configuration is applied, GatewaySentry needs to know whether to keep evaluating later rules or stop here.

What happens next options

Option Description
Continue Apply this rule's config, then keep checking the rest of the rules in the flow. Configs from later matching rules stack on top of this one.
Stop Apply this rule's config and end evaluation. No later rules will be checked.
Deny Ignore the rule's config entirely and immediately return 403 Forbidden. Used to block matching requests outright.

How to think about it: Use Continue for broad rules near the top (e.g., "all traffic gets passive challenge"), then Stop for specific overrides ("but /admin gets stricter rules"). Use Deny as a hard block for known-bad traffic.


Previous: ← Step 3 — DO: Configure Rule Behavior Next: Step 5 — Save Your Rule →