Skip to content

Condition

Source code in docs_src/capo_observabilityadmin/types/condition.py
class Condition(TypedDict, closed=True):
    action_condition: NotRequired[
        "capo_observabilityadmin.types.action_condition.ActionCondition"
    ]
    """<p> Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.). </p>"""
    label_name_condition: NotRequired[
        "capo_observabilityadmin.types.label_name_condition.LabelNameCondition"
    ]
    """<p> Matches log records based on WAF rule labels applied to the request. </p>"""

action_condition instance-attribute

action_condition: NotRequired[ActionCondition]

Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).

label_name_condition instance-attribute

label_name_condition: NotRequired[LabelNameCondition]

Matches log records based on WAF rule labels applied to the request.