Skip to content

StatefulRuleOptions

Source code in docs_src/capo_network_firewall/types/stateful_rule_options.py
class StatefulRuleOptions(TypedDict, closed=True):
    rule_order: NotRequired["capo_network_firewall.types.rule_order.RuleOrder"]
    """<p>Indicates how to manage the order of the rule evaluation for the rule group. <code>DEFAULT_ACTION_ORDER</code> is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html">Evaluation order for stateful rules</a> in the <i>Network Firewall Developer Guide</i>. </p>"""

rule_order instance-attribute

rule_order: NotRequired[RuleOrder]

Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.