Skip to content

xcsh_forward_proxy_policy (Data Source)

Retrieves information about a Forward Proxy Policy resource in F5 Distributed Cloud for forward proxy policy specification. configuration. This is a read-only data source.

~> Note: For more information, see the Forward Proxy Policy API documentation.

# ForwardProxyPolicy Data Source Example
terraform {
required_version = ">= 1.0"
required_providers {
xcsh = {
source = "f5-sales-demo/xcsh"
version = ">= 0.1.0"
}
}
}
# Look up an existing ForwardProxyPolicy by name
data "xcsh_forward_proxy_policy" "example" {
name = "example-forward-proxy-policy"
namespace = "staging"
}
output "forward_proxy_policy_id" {
value = data.xcsh_forward_proxy_policy.example.id
}

-> Syntax Rule: This provider uses OneOf groups for mutually exclusive options. Fields documented as “Optional Block” use block syntax field_name { ... }. Empty OneOf object attributes use field_name = {}; conditional selection uses condition ? {} : null. Boolean attributes (such as add_hsts and http_redirect) use = true or = false.

🔶 High Risk Operations — Some operations on this resource have high danger level. Destructive operations may require confirmation.

• name - Required String
Name of the ForwardProxyPolicy

• namespace - Required String
Namespace where the ForwardProxyPolicy exists

In addition to all arguments above, the following attributes are exported:

• allow_all - Optional Object
Enable this option

• allow_list - Optional String
URL(s) and domains policy for forward proxy for a connection type (TLS or HTTP)

• annotations - Optional Map
Annotations applied to this resource

• any_proxy - Optional Object
Enable this option

• deny_list - Optional String
URL(s) and domains policy for forward proxy for a connection type (TLS or HTTP)

• description - Optional String
Description of the ForwardProxyPolicy

• drp_http_connect - Optional Object
Configuration parameter for drp HTTP connect

• id - Optional String
Unique identifier for the resource

• labels - Optional Map
Labels applied to this resource

• network_connector - Optional String
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name

• proxy_label_selector - Optional String
Type can be used to establish a ‘selector reference’ from one object(called selector) to a set of other objects(called selectees) based on the value of expressions. A label selector is a label query over a set of resources. An empty label selector matches all objects

• rule_list - Optional String
Custom Rule List. List of custom rules

• default_action_allow - Optional Object
Enable this option

• default_action_deny - Optional Object
Enable this option

• default_action_next_policy - Optional Object
Policy configuration for this feature

• dest_list - Optional List
L4 destinations for non-HTTP and non-TLS connections and TLS connections without SNI

• http_list - Optional List
HTTP URLs. URLs for HTTP connections

• tls_list - Optional List
TLS Domains. Domains in SNI for TLS connections

• ipv6_prefixes - Optional List
IPv6 Prefixes. Destination IPv6 prefixes

• port_ranges - Optional String
String containing a comma separated list of port ranges. Each port range consists of a single port or two ports separated by ’-’

• prefixes - Optional List
IPv4 Prefixes. Destination IPv4 prefixes

• any_path - Optional Object
Enable this option

• exact_value - Optional String
Exact domain name

• path_exact_value - Optional String
Exact Path to match

• path_prefix_value - Optional String
Prefix of Path e.g ‘/abc/xyz’ will match ‘/abc/xyz/.*’

• path_regex_value - Optional String
Regular Expression value for the Path to match

• regex_value - Optional String
Regular Expression value for the domain name

• suffix_value - Optional String
Suffix of domain names e.g ‘xyz.com’ will match ‘*.xyz.com’

• exact_value - Optional String
Exact domain name

• regex_value - Optional String
Regular Expression value for the domain name

• suffix_value - Optional String
Suffix of domain name e.g ‘xyz.com’ will match ‘*.xyz.com’ and ‘xyz.com’

• default_action_allow - Optional Object
Enable this option

• default_action_deny - Optional Object
Enable this option

• default_action_next_policy - Optional Object
Policy configuration for this feature

• dest_list - Optional List
L4 destinations for non-HTTP and non-TLS connections and TLS connections without SNI

• http_list - Optional List
HTTP URLs. URLs for HTTP connections

• tls_list - Optional List
TLS Domains. Domains in SNI for TLS connections

• ipv6_prefixes - Optional List
IPv6 Prefixes. Destination IPv6 prefixes

• port_ranges - Optional String
String containing a comma separated list of port ranges. Each port range consists of a single port or two ports separated by ’-’

• prefixes - Optional List
IPv4 Prefixes. Destination IPv4 prefixes

• any_path - Optional Object
Enable this option

• exact_value - Optional String
Exact domain name

• path_exact_value - Optional String
Exact Path to match

• path_prefix_value - Optional String
Prefix of Path e.g ‘/abc/xyz’ will match ‘/abc/xyz/.*’

• path_regex_value - Optional String
Regular Expression value for the Path to match

• regex_value - Optional String
Regular Expression value for the domain name

• suffix_value - Optional String
Suffix of domain names e.g ‘xyz.com’ will match ‘*.xyz.com’

• exact_value - Optional String
Exact domain name

• regex_value - Optional String
Regular Expression value for the domain name

• suffix_value - Optional String
Suffix of domain name e.g ‘xyz.com’ will match ‘*.xyz.com’ and ‘xyz.com’

• name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

• namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

• tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant

• expressions - Optional List
Expressions contains the Kubernetes style label expression for selections

• rules - Optional List
Custom Rule List. List of custom rules

• action - Optional String Defaults to DENY
Possible values are DENY, ALLOW, NEXT_POLICY
[Enum: DENY|ALLOW|NEXT_POLICY] The rule action determines the disposition of the input request API. If a policy matches a rule with an ALLOW action, the processing of the request proceeds forward. If it matches a rule with a DENY action, the processing of the request is terminated and an appropriate message/code returned to

• all_destinations - Optional Object
Configuration parameter for all destinations

• all_sources - Optional Object
Configuration parameter for all sources

• dst_asn_list - Optional String
Unordered set of RFC 6793 defined 4-byte AS numbers that can be used to create allow or deny lists for use in network policy or service policy. It can be used to create the allow list only for DNS Load Balancer

• dst_asn_set - Optional String
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name

• dst_ip_prefix_set - Optional String
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name

• dst_label_selector - Optional String
Type can be used to establish a ‘selector reference’ from one object(called selector) to a set of other objects(called selectees) based on the value of expressions. A label selector is a label query over a set of resources. An empty label selector matches all objects

• dst_prefix_list - Optional String
List of IPv4 prefixes that represent an endpoint

• http_list - Optional String
URLListType

• ip_prefix_set - Optional String
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name

• label_selector - Optional String
Type can be used to establish a ‘selector reference’ from one object(called selector) to a set of other objects(called selectees) based on the value of expressions. A label selector is a label query over a set of resources. An empty label selector matches all objects

• metadata - Optional String
MessageMetaType is metadata (common attributes) of a message that only certain messages have. This information is propagated to the metadata of a child object that gets created from the containing message during view processing. The information in this type can be specified by user during create

• no_http_connect_port - Optional Object
Enable this option

• port_matcher - Optional String
Port matcher specifies a list of port ranges as match criteria. The match is considered successful if the input port falls within any of the port ranges. The result of the match is inverted if invert_matcher is true

• prefix_list - Optional String
List of IPv4 prefixes that represent an endpoint

• tls_list - Optional String
DomainListType

• url_category_list - Optional String
URL Category List Type. List of URL categories

• as_numbers - Optional List
Unordered set of RFC 6793 defined 4-byte AS numbers that can be used to create allow or deny lists for use in network policy or service policy. It can be used to create the allow list only for DNS Load Balancer

• name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

• namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

• tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant

• name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

• namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

• tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant

• expressions - Optional List
Expressions contains the Kubernetes style label expression for selections

• prefixes - Optional List
List of IPv4 prefixes that represent an endpoint

• http_list - Optional List
HTTP URLs. URLs for HTTP connections

• any_path - Optional Object
Enable this option

• exact_value - Optional String
Exact domain name

• path_exact_value - Optional String
Exact Path to match

• path_prefix_value - Optional String
Prefix of Path e.g ‘/abc/xyz’ will match ‘/abc/xyz/.*’

• path_regex_value - Optional String
Regular Expression value for the Path to match

• regex_value - Optional String
Regular Expression value for the domain name

• suffix_value - Optional String
Suffix of domain names e.g ‘xyz.com’ will match ‘*.xyz.com’

• name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

• namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

• tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant

• expressions - Optional List
Expressions contains the Kubernetes style label expression for selections

• description_spec - Optional String
Description. Human readable description

• name - Optional String
Name of the message. The value of name has to follow DNS-1035 format

• invert_matcher - Optional Bool
Invert Port Matcher. Invert the match result

• ports - Optional List
List of strings, each of which is a single port value or a tuple of start and end port values separated by ’-’. The start and end values are considered to be part of the range

• prefixes - Optional List
List of IPv4 prefixes that represent an endpoint

• tls_list - Optional List
TLS Domains. Domains in SNI for TLS connections

• exact_value - Optional String
Exact domain name

• regex_value - Optional String
Regular Expression value for the domain name

• suffix_value - Optional String
Suffix of domain name e.g ‘xyz.com’ will match ‘*.xyz.com’ and ‘xyz.com’

• url_categories - Optional List Defaults to UNCATEGORIZED
Possible values are UNCATEGORIZED, REAL_ESTATE, COMPUTER_AND_INTERNET_SECURITY, FINANCIAL_SERVICES, BUSINESS_AND_ECONOMY, COMPUTER_AND_INTERNET_INFO, AUCTIONS, SHOPPING, CULT_AND_OCCULT, TRAVEL, ABUSED_DRUGS, ADULT_AND_PORNOGRAPHY, HOME_AND_GARDEN, MILITARY, SOCIAL_NETWORKING, DEAD_SITES, INDIVIDUAL_STOCK_ADVICE_AND_TOOLS, TRAINING_AND_TOOLS, DATING, SEX_EDUCATION, RELIGION, ENTERTAINMENT_AND_ARTS, PERSONAL_SITES_AND_BLOGS, LEGAL, LOCAL_INFORMATION, STREAMING_MEDIA, JOB_SEARCH, GAMBLING, TRANSLATION, REFERENCE_AND_RESEARCH, SHAREWARE_AND_FREEWARE, PEER_TO_PEER, MARIJUANA, HACKING, GAMES, PHILOSOPHY_AND_POLITICAL_ADVOCACY, WEAPONS, PAY_TO_SURF, HUNTING_AND_FISHING, SOCIETY, EDUCATIONAL_INSTITUTIONS, ONLINE_GREETING_CARDS, SPORTS, SWIMSUITS_AND_INTIMATE_APPAREL, QUESTIONABLE, KIDS, HATE_AND_RACISM, PERSONAL_STORAGE, VIOLENCE, KEYLOGGERS_AND_MONITORING, SEARCH_ENGINES, INTERNET_PORTALS, WEB_ADVERTISEMENTS, CHEATING, GROSS, WEB_BASED_EMAIL, MALWARE_SITES, PHISHING_AND_OTHER_FRAUDS, PROXY_AVOIDANCE_AND_ANONYMIZERS, SPYWARE_AND_ADWARE, MUSIC, GOVERNMENT, NUDITY, NEWS_AND_MEDIA, ILLEGAL, CONTENT_DELIVERY_NETWORKS, INTERNET_COMMUNICATIONS, BOT_NETS, ABORTION, HEALTH_AND_MEDICINE, CONFIRMED_SPAM_SOURCES, SPAM_URLS, UNCONFIRMED_SPAM_SOURCES, OPEN_HTTP_PROXIES, DYNAMICALLY_GENERATED_CONTENT, PARKED_DOMAINS, ALCOHOL_AND_TOBACCO, PRIVATE_IP_ADDRESSES, IMAGE_AND_VIDEO_SEARCH, FASHION_AND_BEAUTY, RECREATION_AND_HOBBIES, MOTOR_VEHICLES, WEB_HOSTING
[Enum: UNCATEGORIZED|REAL_ESTATE|COMPUTER_AND_INTERNET_SECURITY|FINANCIAL_SERVICES|BUSINESS_AND_ECONOMY|COMPUTER_AND_INTERNET_INFO|AUCTIONS|SHOPPING|CULT_AND_OCCULT|TRAVEL|ABUSED_DRUGS|ADULT_AND_PORNOGRAPHY|HOME_AND_GARDEN|MILITARY|SOCIAL_NETWORKING|DEAD_SITES|INDIVIDUAL_STOCK_ADVICE_AND_TOOLS|TRAINING_AND_TOOLS|DATING|SEX_EDUCATION|RELIGION|ENTERTAINMENT_AND_ARTS|PERSONAL_SITES_AND_BLOGS|LEGAL|LOCAL_INFORMATION|STREAMING_MEDIA|JOB_SEARCH|GAMBLING|TRANSLATION|REFERENCE_AND_RESEARCH|SHAREWARE_AND_FREEWARE|PEER_TO_PEER|MARIJUANA|HACKING|GAMES|PHILOSOPHY_AND_POLITICAL_ADVOCACY|WEAPONS|PAY_TO_SURF|HUNTING_AND_FISHING|SOCIETY|EDUCATIONAL_INSTITUTIONS|ONLINE_GREETING_CARDS|SPORTS|SWIMSUITS_AND_INTIMATE_APPAREL|QUESTIONABLE|KIDS|HATE_AND_RACISM|PERSONAL_STORAGE|VIOLENCE|KEYLOGGERS_AND_MONITORING|SEARCH_ENGINES|INTERNET_PORTALS|WEB_ADVERTISEMENTS|CHEATING|GROSS|WEB_BASED_EMAIL|MALWARE_SITES|PHISHING_AND_OTHER_FRAUDS|PROXY_AVOIDANCE_AND_ANONYMIZERS|SPYWARE_AND_ADWARE|MUSIC|GOVERNMENT|NUDITY|NEWS_AND_MEDIA|ILLEGAL|CONTENT_DELIVERY_NETWORKS|INTERNET_COMMUNICATIONS|BOT_NETS|ABORTION|HEALTH_AND_MEDICINE|CONFIRMED_SPAM_SOURCES|SPAM_URLS|UNCONFIRMED_SPAM_SOURCES|OPEN_HTTP_PROXIES|DYNAMICALLY_GENERATED_CONTENT|PARKED_DOMAINS|ALCOHOL_AND_TOBACCO|PRIVATE_IP_ADDRESSES|IMAGE_AND_VIDEO_SEARCH|FASHION_AND_BEAUTY|RECREATION_AND_HOBBIES|MOTOR_VEHICLES|WEB_HOSTING] URL Categories. List of URL categories to be selected


The following type definitions are used throughout this resource. See the full definition here rather than repeated inline.

Object Reference {#common-object-reference}

Section titled “Object Reference {#common-object-reference}”

Object references establish a direct reference from one configuration object to another in F5 Distributed Cloud. References use the format tenant/namespace/name.

FieldTypeDescription
nameStringName of the referenced object
namespaceStringNamespace containing the referenced object
tenantStringTenant of the referenced object (system-managed)

Transformers apply transformations to input values before matching. Multiple transformers can be applied in order.

ValueDescription
LOWER_CASEConvert to lowercase
UPPER_CASEConvert to uppercase
BASE64_DECODEDecodebase64 content
NORMALIZE_PATHNormalize URL path
REMOVE_WHITESPACERemove whitespace characters
URL_DECODEDecode URL-encoded characters
TRIM_LEFTTrim leading whitespace
TRIM_RIGHTTrim trailing whitespace
TRIMTrim both leading and trailing whitespace

HTTP methods used for request matching.

ValueDescription
ANYMatch any HTTP method
GETHTTP GET request
HEADHTTP HEAD request
POSTHTTP POST request
PUTHTTP PUT request
DELETEHTTP DELETE request
CONNECTHTTP CONNECT request
OPTIONSHTTP OPTIONS request
TRACEHTTP TRACE request
PATCHHTTP PATCH request
COPYHTTP COPY request (WebDAV)

TLS Fingerprints {#common-tls-fingerprints}

Section titled “TLS Fingerprints {#common-tls-fingerprints}”

TLS fingerprint categories for malicious client detection.

ValueDescription
TLS_FINGERPRINT_NONENo fingerprint matching
ANY_MALICIOUS_FINGERPRINTMatch any known malicious fingerprint
ADWAREAdware-associated fingerprints
DRIDEXDridex malware fingerprints
GOOTKITGootkit malware fingerprints
RANSOMWARERansomware-associated fingerprints
TRICKBOTTrickbot malware fingerprints

IP Threat Categories {#common-ip-threat-categories}

Section titled “IP Threat Categories {#common-ip-threat-categories}”

IP address threat categories for security filtering.

ValueDescription
SPAM_SOURCESKnown spam sources
WINDOWS_EXPLOITSWindows exploit sources
WEB_ATTACKSWeb attack sources
BOTNETSKnown botnet IPs
SCANNERSNetwork scanner IPs
REPUTATIONPoor reputation IPs
PHISHINGPhishing-related IPs
PROXYAnonymous proxy IPs
MOBILE_THREATSMobile threat sources
TOR_PROXYTor exit nodes
DENIAL_OF_SERVICEDoS attack sources
NETWORKKnown bad network ranges