Skip to content

AsnMatchStatement

Source code in docs_src/capo_wafv2/types/asn_match_statement.py
class AsnMatchStatement(TypedDict, closed=True):
    asn_list: "capo_wafv2.types.asn_list.AsnList"
    """<p>Contains one or more Autonomous System Numbers (ASNs). ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies. </p>"""
    forwarded_ip_config: NotRequired[
        "capo_wafv2.types.forwarded_ip_config.ForwardedIPConfig"
    ]
    """<p>The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. </p>"""

asn_list instance-attribute

asn_list: AsnList

Contains one or more Autonomous System Numbers (ASNs). ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.

forwarded_ip_config instance-attribute

forwarded_ip_config: NotRequired[ForwardedIPConfig]

The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.