Skip to content

ServerCertificateScope

Source code in docs_src/capo_network_firewall/types/server_certificate_scope.py
class ServerCertificateScope(TypedDict, closed=True):
    sources: NotRequired["capo_network_firewall.types.addresses.Addresses"]
    """<p>The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.</p>"""
    destinations: NotRequired["capo_network_firewall.types.addresses.Addresses"]
    """<p>The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.</p>"""
    source_ports: NotRequired["capo_network_firewall.types.port_ranges.PortRanges"]
    """<p>The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port.</p> <p>You can specify individual ports, for example <code>1994</code>, and you can specify port ranges, such as <code>1990:1994</code>.</p>"""
    destination_ports: NotRequired["capo_network_firewall.types.port_ranges.PortRanges"]
    """<p>The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port.</p> <p>You can specify individual ports, for example <code>1994</code>, and you can specify port ranges, such as <code>1990:1994</code>.</p>"""
    protocols: NotRequired[
        "capo_network_firewall.types.protocol_numbers.ProtocolNumbers"
    ]
    """<p>The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.</p> <p>Network Firewall currently supports only TCP.</p>"""
    domain_match: NotRequired["capo_network_firewall.types.domain_match.DomainMatch"]
    """<p>The domains that this scope matches, based on the host name in the client's HTTP CONNECT request. Domain matching applies only to proxy mode firewalls. If you specify <code>DomainMatch</code>, you must set <code>DeploymentMode</code> to <code>EXPLICIT_PROXY_ONLY</code>. If you don't specify <code>DomainMatch</code>, the scope matches traffic by its source, destination, ports, and protocols only.</p>"""
    decryption_action: NotRequired[
        "capo_network_firewall.types.decryption_action.DecryptionAction"
    ]
    """<p>Whether the firewall decrypts traffic that matches this scope. You can choose from the following values:</p> <ul> <li> <p> <code>DECRYPT</code> - The firewall decrypts the traffic for inspection.</p> </li> <li> <p> <code>BYPASS</code> - The firewall doesn't decrypt the traffic.</p> </li> </ul>"""
    deployment_mode: NotRequired[
        "capo_network_firewall.types.tls_inspection_scope_deployment_mode.TLSInspectionScopeDeploymentMode"
    ]
    """<p>The type of firewall that this scope applies to. If you don't specify a value, the scope applies to both types, the same as <code>ALL</code>. You can choose from the following values:</p> <ul> <li> <p> <code>ALL</code> - The scope applies to both transparent firewalls and proxy mode firewalls.</p> </li> <li> <p> <code>TRANSPARENT_FIREWALL_ONLY</code> - The scope applies only to transparent firewalls.</p> </li> <li> <p> <code>EXPLICIT_PROXY_ONLY</code> - The scope applies only to proxy mode firewalls. A scope that specifies <code>DomainMatch</code> must use this value.</p> </li> </ul>"""

decryption_action instance-attribute

decryption_action: NotRequired[DecryptionAction]

Whether the firewall decrypts traffic that matches this scope. You can choose from the following values:

  • DECRYPT - The firewall decrypts the traffic for inspection.

  • BYPASS - The firewall doesn't decrypt the traffic.

deployment_mode instance-attribute

deployment_mode: NotRequired[TLSInspectionScopeDeploymentMode]

The type of firewall that this scope applies to. If you don't specify a value, the scope applies to both types, the same as ALL. You can choose from the following values:

  • ALL - The scope applies to both transparent firewalls and proxy mode firewalls.

  • TRANSPARENT_FIREWALL_ONLY - The scope applies only to transparent firewalls.

  • EXPLICIT_PROXY_ONLY - The scope applies only to proxy mode firewalls. A scope that specifies DomainMatch must use this value.

destination_ports instance-attribute

destination_ports: NotRequired[PortRanges]

The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port.

You can specify individual ports, for example 1994, and you can specify port ranges, such as 1990:1994.

destinations instance-attribute

destinations: NotRequired[Addresses]

The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.

domain_match instance-attribute

domain_match: NotRequired[DomainMatch]

The domains that this scope matches, based on the host name in the client's HTTP CONNECT request. Domain matching applies only to proxy mode firewalls. If you specify DomainMatch, you must set DeploymentMode to EXPLICIT_PROXY_ONLY. If you don't specify DomainMatch, the scope matches traffic by its source, destination, ports, and protocols only.

protocols instance-attribute

protocols: NotRequired[ProtocolNumbers]

The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.

Network Firewall currently supports only TCP.

source_ports instance-attribute

source_ports: NotRequired[PortRanges]

The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port.

You can specify individual ports, for example 1994, and you can specify port ranges, such as 1990:1994.

sources instance-attribute

sources: NotRequired[Addresses]

The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.