Skip to content

NetworkTrafficConfig

Source code in docs_src/capo_securityagent/types/network_traffic_config.py
class NetworkTrafficConfig(TypedDict, closed=True):
    rules: NotRequired[
        "capo_securityagent.types.network_traffic_rule_list.NetworkTrafficRuleList"
    ]
    """<p>The list of network traffic rules that control which URLs are allowed or denied during testing.</p>"""
    custom_headers: NotRequired[
        "capo_securityagent.types.custom_header_list.CustomHeaderList"
    ]
    """<p>The list of custom HTTP headers to include in network traffic during testing.</p>"""

custom_headers instance-attribute

custom_headers: NotRequired[CustomHeaderList]

The list of custom HTTP headers to include in network traffic during testing.

rules instance-attribute

rules: NotRequired[NetworkTrafficRuleList]

The list of network traffic rules that control which URLs are allowed or denied during testing.