Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustGatewayPolicy
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustGatewayPolicy = cloudflare.getZeroTrustGatewayPolicy({
accountId: "699d98642c564d2e855e9661899b7252",
ruleId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_gateway_policy = cloudflare.get_zero_trust_gateway_policy(account_id="699d98642c564d2e855e9661899b7252",
rule_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupZeroTrustGatewayPolicy(ctx, &cloudflare.LookupZeroTrustGatewayPolicyArgs{
AccountId: "699d98642c564d2e855e9661899b7252",
RuleId: pulumi.StringRef("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustGatewayPolicy = Cloudflare.GetZeroTrustGatewayPolicy.Invoke(new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
RuleId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetZeroTrustGatewayPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleZeroTrustGatewayPolicy = CloudflareFunctions.getZeroTrustGatewayPolicy(GetZeroTrustGatewayPolicyArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.ruleId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
.build());
}
}
variables:
exampleZeroTrustGatewayPolicy:
fn::invoke:
function: cloudflare:getZeroTrustGatewayPolicy
arguments:
accountId: 699d98642c564d2e855e9661899b7252
ruleId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
Using getZeroTrustGatewayPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getZeroTrustGatewayPolicy(args: GetZeroTrustGatewayPolicyArgs, opts?: InvokeOptions): Promise<GetZeroTrustGatewayPolicyResult>
function getZeroTrustGatewayPolicyOutput(args: GetZeroTrustGatewayPolicyOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustGatewayPolicyResult>
def get_zero_trust_gateway_policy(account_id: Optional[str] = None,
rule_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustGatewayPolicyResult
def get_zero_trust_gateway_policy_output(account_id: Optional[pulumi.Input[str]] = None,
rule_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustGatewayPolicyResult]
func LookupZeroTrustGatewayPolicy(ctx *Context, args *LookupZeroTrustGatewayPolicyArgs, opts ...InvokeOption) (*LookupZeroTrustGatewayPolicyResult, error)
func LookupZeroTrustGatewayPolicyOutput(ctx *Context, args *LookupZeroTrustGatewayPolicyOutputArgs, opts ...InvokeOption) LookupZeroTrustGatewayPolicyResultOutput
> Note: This function is named LookupZeroTrustGatewayPolicy
in the Go SDK.
public static class GetZeroTrustGatewayPolicy
{
public static Task<GetZeroTrustGatewayPolicyResult> InvokeAsync(GetZeroTrustGatewayPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustGatewayPolicyResult> Invoke(GetZeroTrustGatewayPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustGatewayPolicyResult> getZeroTrustGatewayPolicy(GetZeroTrustGatewayPolicyArgs args, InvokeOptions options)
public static Output<GetZeroTrustGatewayPolicyResult> getZeroTrustGatewayPolicy(GetZeroTrustGatewayPolicyArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustGatewayPolicy:getZeroTrustGatewayPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - rule_
id str - The API resource UUID.
getZeroTrustGatewayPolicy Result
The following output properties are available:
- Account
Id string - Action string
- The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to
true
. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4_override", "egress", "resolve", "quarantine", "redirect". - Created
At string - Deleted
At string - Date of deletion, if any.
- Description string
- The description of the rule.
- Device
Posture string - The wirefilter expression used for device posture check matching.
- Enabled bool
- True if the rule is enabled.
- Expiration
Get
Zero Trust Gateway Policy Expiration - The expiration time stamp and default duration of a DNS policy. Takes
precedence over the policy's
schedule
configuration, if any. - Filters List<string>
- Id string
- Identity string
- Name string
- Precedence int
- Rule
Settings GetZero Trust Gateway Policy Rule Settings - Schedule
Get
Zero Trust Gateway Policy Schedule - Traffic string
- Updated
At string - Version int
- Rule
Id string - The API resource UUID.
- Account
Id string - Action string
- The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to
true
. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4_override", "egress", "resolve", "quarantine", "redirect". - Created
At string - Deleted
At string - Date of deletion, if any.
- Description string
- The description of the rule.
- Device
Posture string - The wirefilter expression used for device posture check matching.
- Enabled bool
- True if the rule is enabled.
- Expiration
Get
Zero Trust Gateway Policy Expiration - The expiration time stamp and default duration of a DNS policy. Takes
precedence over the policy's
schedule
configuration, if any. - Filters []string
- Id string
- Identity string
- Name string
- Precedence int
- Rule
Settings GetZero Trust Gateway Policy Rule Settings - Schedule
Get
Zero Trust Gateway Policy Schedule - Traffic string
- Updated
At string - Version int
- Rule
Id string - The API resource UUID.
- account
Id String - action String
- The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to
true
. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4_override", "egress", "resolve", "quarantine", "redirect". - created
At String - deleted
At String - Date of deletion, if any.
- description String
- The description of the rule.
- device
Posture String - The wirefilter expression used for device posture check matching.
- enabled Boolean
- True if the rule is enabled.
- expiration
Get
Zero Trust Gateway Policy Expiration - The expiration time stamp and default duration of a DNS policy. Takes
precedence over the policy's
schedule
configuration, if any. - filters List<String>
- id String
- identity String
- name String
- precedence Integer
- rule
Settings GetZero Trust Gateway Policy Rule Settings - schedule
Get
Zero Trust Gateway Policy Schedule - traffic String
- updated
At String - version Integer
- rule
Id String - The API resource UUID.
- account
Id string - action string
- The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to
true
. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4_override", "egress", "resolve", "quarantine", "redirect". - created
At string - deleted
At string - Date of deletion, if any.
- description string
- The description of the rule.
- device
Posture string - The wirefilter expression used for device posture check matching.
- enabled boolean
- True if the rule is enabled.
- expiration
Get
Zero Trust Gateway Policy Expiration - The expiration time stamp and default duration of a DNS policy. Takes
precedence over the policy's
schedule
configuration, if any. - filters string[]
- id string
- identity string
- name string
- precedence number
- rule
Settings GetZero Trust Gateway Policy Rule Settings - schedule
Get
Zero Trust Gateway Policy Schedule - traffic string
- updated
At string - version number
- rule
Id string - The API resource UUID.
- account_
id str - action str
- The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to
true
. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4_override", "egress", "resolve", "quarantine", "redirect". - created_
at str - deleted_
at str - Date of deletion, if any.
- description str
- The description of the rule.
- device_
posture str - The wirefilter expression used for device posture check matching.
- enabled bool
- True if the rule is enabled.
- expiration
Get
Zero Trust Gateway Policy Expiration - The expiration time stamp and default duration of a DNS policy. Takes
precedence over the policy's
schedule
configuration, if any. - filters Sequence[str]
- id str
- identity str
- name str
- precedence int
- rule_
settings GetZero Trust Gateway Policy Rule Settings - schedule
Get
Zero Trust Gateway Policy Schedule - traffic str
- updated_
at str - version int
- rule_
id str - The API resource UUID.
- account
Id String - action String
- The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to
true
. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4_override", "egress", "resolve", "quarantine", "redirect". - created
At String - deleted
At String - Date of deletion, if any.
- description String
- The description of the rule.
- device
Posture String - The wirefilter expression used for device posture check matching.
- enabled Boolean
- True if the rule is enabled.
- expiration Property Map
- The expiration time stamp and default duration of a DNS policy. Takes
precedence over the policy's
schedule
configuration, if any. - filters List<String>
- id String
- identity String
- name String
- precedence Number
- rule
Settings Property Map - schedule Property Map
- traffic String
- updated
At String - version Number
- rule
Id String - The API resource UUID.
Supporting Types
GetZeroTrustGatewayPolicyExpiration
- duration int
- The default duration a policy will be active in minutes. Must be set in order to use the
reset_expiration
endpoint on this rule. - expired bool
- Whether the policy has expired.
- expires_
at str - The time stamp at which the policy will expire and cease to be applied.
GetZeroTrustGatewayPolicyRuleSettings
- Add
Headers Dictionary<string, string> - Add custom headers to allowed requests, in the form of key-value pairs. Keys are header names, pointing to an array with its header value(s).
- Allow
Child boolBypass - Set by parent MSP accounts to enable their children to bypass this rule.
- Audit
Ssh GetZero Trust Gateway Policy Rule Settings Audit Ssh - Settings for the Audit SSH action.
- Biso
Admin GetControls Zero Trust Gateway Policy Rule Settings Biso Admin Controls - Configure how browser isolation behaves.
- Block
Page boolEnabled - Enable the custom block page.
- Block
Reason string - The text describing why this block occurred, displayed on the custom block page (if enabled).
- Bypass
Parent boolRule - Set by children MSP accounts to bypass their parent's rules.
- Check
Session GetZero Trust Gateway Policy Rule Settings Check Session - Configure how session check behaves.
- Dns
Resolvers GetZero Trust Gateway Policy Rule Settings Dns Resolvers - Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when 'resolvednsthroughcloudflare' or 'resolvedns*internally' are set. DNS queries will route to the address closest to their origin. Only valid when a rule's action is set to 'resolve'.
- Egress
Get
Zero Trust Gateway Policy Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs.
- Ignore
Cname boolCategory Matches - Set to true, to ignore the category matches at CNAME domains in a response. If unchecked, the categories in this rule will be checked against all the CNAME domain categories in a response.
- Insecure
Disable boolDnssec Validation - INSECURE - disable DNSSEC validation (for Allow actions).
- Ip
Categories bool - Set to true to enable IPs in DNS resolver category blocks. By default categories only block based on domain names.
- Ip
Indicator boolFeeds - Set to true to include IPs in DNS resolver indicator feed blocks. By default indicator feeds only block based on domain names.
- L4override
Get
Zero Trust Gateway Policy Rule Settings L4override - Send matching traffic to the supplied destination IP address and port.
- Notification
Settings GetZero Trust Gateway Policy Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule is matched.
- Override
Host string - Override matching DNS queries with a hostname.
- Override
Ips List<string> - Override matching DNS queries with an IP or set of IPs.
- Payload
Log GetZero Trust Gateway Policy Rule Settings Payload Log - Configure DLP payload logging.
- Quarantine
Get
Zero Trust Gateway Policy Rule Settings Quarantine - Settings that apply to quarantine rules
- Redirect
Get
Zero Trust Gateway Policy Rule Settings Redirect - Settings that apply to redirect rules
- Resolve
Dns GetInternally Zero Trust Gateway Policy Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Cannot be set when 'dnsresolvers' are specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action is set to 'resolve'.
- Resolve
Dns boolThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when 'dnsresolvers' are specified or 'resolvedns_internally' is set. Only valid when a rule's action is set to 'resolve'.
- Untrusted
Cert GetZero Trust Gateway Policy Rule Settings Untrusted Cert - Configure behavior when an upstream cert is invalid or an SSL error occurs.
- Add
Headers map[string]string - Add custom headers to allowed requests, in the form of key-value pairs. Keys are header names, pointing to an array with its header value(s).
- Allow
Child boolBypass - Set by parent MSP accounts to enable their children to bypass this rule.
- Audit
Ssh GetZero Trust Gateway Policy Rule Settings Audit Ssh - Settings for the Audit SSH action.
- Biso
Admin GetControls Zero Trust Gateway Policy Rule Settings Biso Admin Controls - Configure how browser isolation behaves.
- Block
Page boolEnabled - Enable the custom block page.
- Block
Reason string - The text describing why this block occurred, displayed on the custom block page (if enabled).
- Bypass
Parent boolRule - Set by children MSP accounts to bypass their parent's rules.
- Check
Session GetZero Trust Gateway Policy Rule Settings Check Session - Configure how session check behaves.
- Dns
Resolvers GetZero Trust Gateway Policy Rule Settings Dns Resolvers - Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when 'resolvednsthroughcloudflare' or 'resolvedns*internally' are set. DNS queries will route to the address closest to their origin. Only valid when a rule's action is set to 'resolve'.
- Egress
Get
Zero Trust Gateway Policy Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs.
- Ignore
Cname boolCategory Matches - Set to true, to ignore the category matches at CNAME domains in a response. If unchecked, the categories in this rule will be checked against all the CNAME domain categories in a response.
- Insecure
Disable boolDnssec Validation - INSECURE - disable DNSSEC validation (for Allow actions).
- Ip
Categories bool - Set to true to enable IPs in DNS resolver category blocks. By default categories only block based on domain names.
- Ip
Indicator boolFeeds - Set to true to include IPs in DNS resolver indicator feed blocks. By default indicator feeds only block based on domain names.
- L4override
Get
Zero Trust Gateway Policy Rule Settings L4override - Send matching traffic to the supplied destination IP address and port.
- Notification
Settings GetZero Trust Gateway Policy Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule is matched.
- Override
Host string - Override matching DNS queries with a hostname.
- Override
Ips []string - Override matching DNS queries with an IP or set of IPs.
- Payload
Log GetZero Trust Gateway Policy Rule Settings Payload Log - Configure DLP payload logging.
- Quarantine
Get
Zero Trust Gateway Policy Rule Settings Quarantine - Settings that apply to quarantine rules
- Redirect
Get
Zero Trust Gateway Policy Rule Settings Redirect - Settings that apply to redirect rules
- Resolve
Dns GetInternally Zero Trust Gateway Policy Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Cannot be set when 'dnsresolvers' are specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action is set to 'resolve'.
- Resolve
Dns boolThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when 'dnsresolvers' are specified or 'resolvedns_internally' is set. Only valid when a rule's action is set to 'resolve'.
- Untrusted
Cert GetZero Trust Gateway Policy Rule Settings Untrusted Cert - Configure behavior when an upstream cert is invalid or an SSL error occurs.
- add
Headers Map<String,String> - Add custom headers to allowed requests, in the form of key-value pairs. Keys are header names, pointing to an array with its header value(s).
- allow
Child BooleanBypass - Set by parent MSP accounts to enable their children to bypass this rule.
- audit
Ssh GetZero Trust Gateway Policy Rule Settings Audit Ssh - Settings for the Audit SSH action.
- biso
Admin GetControls Zero Trust Gateway Policy Rule Settings Biso Admin Controls - Configure how browser isolation behaves.
- block
Page BooleanEnabled - Enable the custom block page.
- block
Reason String - The text describing why this block occurred, displayed on the custom block page (if enabled).
- bypass
Parent BooleanRule - Set by children MSP accounts to bypass their parent's rules.
- check
Session GetZero Trust Gateway Policy Rule Settings Check Session - Configure how session check behaves.
- dns
Resolvers GetZero Trust Gateway Policy Rule Settings Dns Resolvers - Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when 'resolvednsthroughcloudflare' or 'resolvedns*internally' are set. DNS queries will route to the address closest to their origin. Only valid when a rule's action is set to 'resolve'.
- egress
Get
Zero Trust Gateway Policy Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs.
- ignore
Cname BooleanCategory Matches - Set to true, to ignore the category matches at CNAME domains in a response. If unchecked, the categories in this rule will be checked against all the CNAME domain categories in a response.
- insecure
Disable BooleanDnssec Validation - INSECURE - disable DNSSEC validation (for Allow actions).
- ip
Categories Boolean - Set to true to enable IPs in DNS resolver category blocks. By default categories only block based on domain names.
- ip
Indicator BooleanFeeds - Set to true to include IPs in DNS resolver indicator feed blocks. By default indicator feeds only block based on domain names.
- l4override
Get
Zero Trust Gateway Policy Rule Settings L4override - Send matching traffic to the supplied destination IP address and port.
- notification
Settings GetZero Trust Gateway Policy Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule is matched.
- override
Host String - Override matching DNS queries with a hostname.
- override
Ips List<String> - Override matching DNS queries with an IP or set of IPs.
- payload
Log GetZero Trust Gateway Policy Rule Settings Payload Log - Configure DLP payload logging.
- quarantine
Get
Zero Trust Gateway Policy Rule Settings Quarantine - Settings that apply to quarantine rules
- redirect
Get
Zero Trust Gateway Policy Rule Settings Redirect - Settings that apply to redirect rules
- resolve
Dns GetInternally Zero Trust Gateway Policy Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Cannot be set when 'dnsresolvers' are specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action is set to 'resolve'.
- resolve
Dns BooleanThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when 'dnsresolvers' are specified or 'resolvedns_internally' is set. Only valid when a rule's action is set to 'resolve'.
- untrusted
Cert GetZero Trust Gateway Policy Rule Settings Untrusted Cert - Configure behavior when an upstream cert is invalid or an SSL error occurs.
- add
Headers {[key: string]: string} - Add custom headers to allowed requests, in the form of key-value pairs. Keys are header names, pointing to an array with its header value(s).
- allow
Child booleanBypass - Set by parent MSP accounts to enable their children to bypass this rule.
- audit
Ssh GetZero Trust Gateway Policy Rule Settings Audit Ssh - Settings for the Audit SSH action.
- biso
Admin GetControls Zero Trust Gateway Policy Rule Settings Biso Admin Controls - Configure how browser isolation behaves.
- block
Page booleanEnabled - Enable the custom block page.
- block
Reason string - The text describing why this block occurred, displayed on the custom block page (if enabled).
- bypass
Parent booleanRule - Set by children MSP accounts to bypass their parent's rules.
- check
Session GetZero Trust Gateway Policy Rule Settings Check Session - Configure how session check behaves.
- dns
Resolvers GetZero Trust Gateway Policy Rule Settings Dns Resolvers - Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when 'resolvednsthroughcloudflare' or 'resolvedns*internally' are set. DNS queries will route to the address closest to their origin. Only valid when a rule's action is set to 'resolve'.
- egress
Get
Zero Trust Gateway Policy Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs.
- ignore
Cname booleanCategory Matches - Set to true, to ignore the category matches at CNAME domains in a response. If unchecked, the categories in this rule will be checked against all the CNAME domain categories in a response.
- insecure
Disable booleanDnssec Validation - INSECURE - disable DNSSEC validation (for Allow actions).
- ip
Categories boolean - Set to true to enable IPs in DNS resolver category blocks. By default categories only block based on domain names.
- ip
Indicator booleanFeeds - Set to true to include IPs in DNS resolver indicator feed blocks. By default indicator feeds only block based on domain names.
- l4override
Get
Zero Trust Gateway Policy Rule Settings L4override - Send matching traffic to the supplied destination IP address and port.
- notification
Settings GetZero Trust Gateway Policy Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule is matched.
- override
Host string - Override matching DNS queries with a hostname.
- override
Ips string[] - Override matching DNS queries with an IP or set of IPs.
- payload
Log GetZero Trust Gateway Policy Rule Settings Payload Log - Configure DLP payload logging.
- quarantine
Get
Zero Trust Gateway Policy Rule Settings Quarantine - Settings that apply to quarantine rules
- redirect
Get
Zero Trust Gateway Policy Rule Settings Redirect - Settings that apply to redirect rules
- resolve
Dns GetInternally Zero Trust Gateway Policy Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Cannot be set when 'dnsresolvers' are specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action is set to 'resolve'.
- resolve
Dns booleanThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when 'dnsresolvers' are specified or 'resolvedns_internally' is set. Only valid when a rule's action is set to 'resolve'.
- untrusted
Cert GetZero Trust Gateway Policy Rule Settings Untrusted Cert - Configure behavior when an upstream cert is invalid or an SSL error occurs.
- add_
headers Mapping[str, str] - Add custom headers to allowed requests, in the form of key-value pairs. Keys are header names, pointing to an array with its header value(s).
- allow_
child_ boolbypass - Set by parent MSP accounts to enable their children to bypass this rule.
- audit_
ssh GetZero Trust Gateway Policy Rule Settings Audit Ssh - Settings for the Audit SSH action.
- biso_
admin_ Getcontrols Zero Trust Gateway Policy Rule Settings Biso Admin Controls - Configure how browser isolation behaves.
- block_
page_ boolenabled - Enable the custom block page.
- block_
reason str - The text describing why this block occurred, displayed on the custom block page (if enabled).
- bypass_
parent_ boolrule - Set by children MSP accounts to bypass their parent's rules.
- check_
session GetZero Trust Gateway Policy Rule Settings Check Session - Configure how session check behaves.
- dns_
resolvers GetZero Trust Gateway Policy Rule Settings Dns Resolvers - Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when 'resolvednsthroughcloudflare' or 'resolvedns*internally' are set. DNS queries will route to the address closest to their origin. Only valid when a rule's action is set to 'resolve'.
- egress
Get
Zero Trust Gateway Policy Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs.
- ignore_
cname_ boolcategory_ matches - Set to true, to ignore the category matches at CNAME domains in a response. If unchecked, the categories in this rule will be checked against all the CNAME domain categories in a response.
- insecure_
disable_ booldnssec_ validation - INSECURE - disable DNSSEC validation (for Allow actions).
- ip_
categories bool - Set to true to enable IPs in DNS resolver category blocks. By default categories only block based on domain names.
- ip_
indicator_ boolfeeds - Set to true to include IPs in DNS resolver indicator feed blocks. By default indicator feeds only block based on domain names.
- l4override
Get
Zero Trust Gateway Policy Rule Settings L4override - Send matching traffic to the supplied destination IP address and port.
- notification_
settings GetZero Trust Gateway Policy Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule is matched.
- override_
host str - Override matching DNS queries with a hostname.
- override_
ips Sequence[str] - Override matching DNS queries with an IP or set of IPs.
- payload_
log GetZero Trust Gateway Policy Rule Settings Payload Log - Configure DLP payload logging.
- quarantine
Get
Zero Trust Gateway Policy Rule Settings Quarantine - Settings that apply to quarantine rules
- redirect
Get
Zero Trust Gateway Policy Rule Settings Redirect - Settings that apply to redirect rules
- resolve_
dns_ Getinternally Zero Trust Gateway Policy Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Cannot be set when 'dnsresolvers' are specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action is set to 'resolve'.
- resolve_
dns_ boolthrough_ cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when 'dnsresolvers' are specified or 'resolvedns_internally' is set. Only valid when a rule's action is set to 'resolve'.
- untrusted_
cert GetZero Trust Gateway Policy Rule Settings Untrusted Cert - Configure behavior when an upstream cert is invalid or an SSL error occurs.
- add
Headers Map<String> - Add custom headers to allowed requests, in the form of key-value pairs. Keys are header names, pointing to an array with its header value(s).
- allow
Child BooleanBypass - Set by parent MSP accounts to enable their children to bypass this rule.
- audit
Ssh Property Map - Settings for the Audit SSH action.
- biso
Admin Property MapControls - Configure how browser isolation behaves.
- block
Page BooleanEnabled - Enable the custom block page.
- block
Reason String - The text describing why this block occurred, displayed on the custom block page (if enabled).
- bypass
Parent BooleanRule - Set by children MSP accounts to bypass their parent's rules.
- check
Session Property Map - Configure how session check behaves.
- dns
Resolvers Property Map - Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when 'resolvednsthroughcloudflare' or 'resolvedns*internally' are set. DNS queries will route to the address closest to their origin. Only valid when a rule's action is set to 'resolve'.
- egress Property Map
- Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs.
- ignore
Cname BooleanCategory Matches - Set to true, to ignore the category matches at CNAME domains in a response. If unchecked, the categories in this rule will be checked against all the CNAME domain categories in a response.
- insecure
Disable BooleanDnssec Validation - INSECURE - disable DNSSEC validation (for Allow actions).
- ip
Categories Boolean - Set to true to enable IPs in DNS resolver category blocks. By default categories only block based on domain names.
- ip
Indicator BooleanFeeds - Set to true to include IPs in DNS resolver indicator feed blocks. By default indicator feeds only block based on domain names.
- l4override Property Map
- Send matching traffic to the supplied destination IP address and port.
- notification
Settings Property Map - Configure a notification to display on the user's device when this rule is matched.
- override
Host String - Override matching DNS queries with a hostname.
- override
Ips List<String> - Override matching DNS queries with an IP or set of IPs.
- payload
Log Property Map - Configure DLP payload logging.
- quarantine Property Map
- Settings that apply to quarantine rules
- redirect Property Map
- Settings that apply to redirect rules
- resolve
Dns Property MapInternally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Cannot be set when 'dnsresolvers' are specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action is set to 'resolve'.
- resolve
Dns BooleanThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when 'dnsresolvers' are specified or 'resolvedns_internally' is set. Only valid when a rule's action is set to 'resolve'.
- untrusted
Cert Property Map - Configure behavior when an upstream cert is invalid or an SSL error occurs.
GetZeroTrustGatewayPolicyRuleSettingsAuditSsh
- Command
Logging bool - Enable to turn on SSH command logging.
- Command
Logging bool - Enable to turn on SSH command logging.
- command
Logging Boolean - Enable to turn on SSH command logging.
- command
Logging boolean - Enable to turn on SSH command logging.
- command_
logging bool - Enable to turn on SSH command logging.
- command
Logging Boolean - Enable to turn on SSH command logging.
GetZeroTrustGatewayPolicyRuleSettingsBisoAdminControls
- Copy string
- Configure whether copy is enabled or not. When set with "remoteonly", copying isolated content from the remote browser to the user's local clipboard is disabled. When absent, copy is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - Dcp bool
- Set to false to enable copy-pasting. Only applies when
version == "v1"
. - Dd bool
- Set to false to enable downloading. Only applies when
version == "v1"
. - Dk bool
- Set to false to enable keyboard usage. Only applies when
version == "v1"
. - Download string
- Configure whether downloading enabled or not. When absent, downloading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Dp bool
- Set to false to enable printing. Only applies when
version == "v1"
. - Du bool
- Set to false to enable uploading. Only applies when
version == "v1"
. - Keyboard string
- Configure whether keyboard usage is enabled or not. When absent, keyboard usage is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Paste string
- Configure whether pasting is enabled or not. When set with "remoteonly", pasting content from the user's local clipboard into isolated pages is disabled. When absent, paste is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - Printing string
- Configure whether printing is enabled or not. When absent, printing is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Upload string
- Configure whether uploading is enabled or not. When absent, uploading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Version string
- Indicates which version of the browser isolation controls should apply. Available values: "v1", "v2".
- Copy string
- Configure whether copy is enabled or not. When set with "remoteonly", copying isolated content from the remote browser to the user's local clipboard is disabled. When absent, copy is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - Dcp bool
- Set to false to enable copy-pasting. Only applies when
version == "v1"
. - Dd bool
- Set to false to enable downloading. Only applies when
version == "v1"
. - Dk bool
- Set to false to enable keyboard usage. Only applies when
version == "v1"
. - Download string
- Configure whether downloading enabled or not. When absent, downloading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Dp bool
- Set to false to enable printing. Only applies when
version == "v1"
. - Du bool
- Set to false to enable uploading. Only applies when
version == "v1"
. - Keyboard string
- Configure whether keyboard usage is enabled or not. When absent, keyboard usage is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Paste string
- Configure whether pasting is enabled or not. When set with "remoteonly", pasting content from the user's local clipboard into isolated pages is disabled. When absent, paste is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - Printing string
- Configure whether printing is enabled or not. When absent, printing is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Upload string
- Configure whether uploading is enabled or not. When absent, uploading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - Version string
- Indicates which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy String
- Configure whether copy is enabled or not. When set with "remoteonly", copying isolated content from the remote browser to the user's local clipboard is disabled. When absent, copy is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - dcp Boolean
- Set to false to enable copy-pasting. Only applies when
version == "v1"
. - dd Boolean
- Set to false to enable downloading. Only applies when
version == "v1"
. - dk Boolean
- Set to false to enable keyboard usage. Only applies when
version == "v1"
. - download String
- Configure whether downloading enabled or not. When absent, downloading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - dp Boolean
- Set to false to enable printing. Only applies when
version == "v1"
. - du Boolean
- Set to false to enable uploading. Only applies when
version == "v1"
. - keyboard String
- Configure whether keyboard usage is enabled or not. When absent, keyboard usage is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - paste String
- Configure whether pasting is enabled or not. When set with "remoteonly", pasting content from the user's local clipboard into isolated pages is disabled. When absent, paste is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - printing String
- Configure whether printing is enabled or not. When absent, printing is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - upload String
- Configure whether uploading is enabled or not. When absent, uploading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - version String
- Indicates which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy string
- Configure whether copy is enabled or not. When set with "remoteonly", copying isolated content from the remote browser to the user's local clipboard is disabled. When absent, copy is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - dcp boolean
- Set to false to enable copy-pasting. Only applies when
version == "v1"
. - dd boolean
- Set to false to enable downloading. Only applies when
version == "v1"
. - dk boolean
- Set to false to enable keyboard usage. Only applies when
version == "v1"
. - download string
- Configure whether downloading enabled or not. When absent, downloading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - dp boolean
- Set to false to enable printing. Only applies when
version == "v1"
. - du boolean
- Set to false to enable uploading. Only applies when
version == "v1"
. - keyboard string
- Configure whether keyboard usage is enabled or not. When absent, keyboard usage is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - paste string
- Configure whether pasting is enabled or not. When set with "remoteonly", pasting content from the user's local clipboard into isolated pages is disabled. When absent, paste is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - printing string
- Configure whether printing is enabled or not. When absent, printing is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - upload string
- Configure whether uploading is enabled or not. When absent, uploading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - version string
- Indicates which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy str
- Configure whether copy is enabled or not. When set with "remoteonly", copying isolated content from the remote browser to the user's local clipboard is disabled. When absent, copy is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - dcp bool
- Set to false to enable copy-pasting. Only applies when
version == "v1"
. - dd bool
- Set to false to enable downloading. Only applies when
version == "v1"
. - dk bool
- Set to false to enable keyboard usage. Only applies when
version == "v1"
. - download str
- Configure whether downloading enabled or not. When absent, downloading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - dp bool
- Set to false to enable printing. Only applies when
version == "v1"
. - du bool
- Set to false to enable uploading. Only applies when
version == "v1"
. - keyboard str
- Configure whether keyboard usage is enabled or not. When absent, keyboard usage is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - paste str
- Configure whether pasting is enabled or not. When set with "remoteonly", pasting content from the user's local clipboard into isolated pages is disabled. When absent, paste is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - printing str
- Configure whether printing is enabled or not. When absent, printing is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - upload str
- Configure whether uploading is enabled or not. When absent, uploading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - version str
- Indicates which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy String
- Configure whether copy is enabled or not. When set with "remoteonly", copying isolated content from the remote browser to the user's local clipboard is disabled. When absent, copy is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - dcp Boolean
- Set to false to enable copy-pasting. Only applies when
version == "v1"
. - dd Boolean
- Set to false to enable downloading. Only applies when
version == "v1"
. - dk Boolean
- Set to false to enable keyboard usage. Only applies when
version == "v1"
. - download String
- Configure whether downloading enabled or not. When absent, downloading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - dp Boolean
- Set to false to enable printing. Only applies when
version == "v1"
. - du Boolean
- Set to false to enable uploading. Only applies when
version == "v1"
. - keyboard String
- Configure whether keyboard usage is enabled or not. When absent, keyboard usage is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - paste String
- Configure whether pasting is enabled or not. When set with "remoteonly", pasting content from the user's local clipboard into isolated pages is disabled. When absent, paste is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled", "remoteonly". - printing String
- Configure whether printing is enabled or not. When absent, printing is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - upload String
- Configure whether uploading is enabled or not. When absent, uploading is enabled. Only applies when
version == "v2"
. Available values: "enabled", "disabled". - version String
- Indicates which version of the browser isolation controls should apply. Available values: "v1", "v2".
GetZeroTrustGatewayPolicyRuleSettingsCheckSession
GetZeroTrustGatewayPolicyRuleSettingsDnsResolvers
GetZeroTrustGatewayPolicyRuleSettingsDnsResolversIpv4
- Ip string
- IPv4 address of upstream resolver.
- Port int
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- Vnet
Id string - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- Ip string
- IPv4 address of upstream resolver.
- Port int
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- Vnet
Id string - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- IPv4 address of upstream resolver.
- port Integer
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet
Id String - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip string
- IPv4 address of upstream resolver.
- port number
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route
Through booleanPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet
Id string - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip str
- IPv4 address of upstream resolver.
- port int
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route_
through_ boolprivate_ network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet_
id str - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- IPv4 address of upstream resolver.
- port Number
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet
Id String - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
GetZeroTrustGatewayPolicyRuleSettingsDnsResolversIpv6
- Ip string
- IPv6 address of upstream resolver.
- Port int
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- Vnet
Id string - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- Ip string
- IPv6 address of upstream resolver.
- Port int
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- Vnet
Id string - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- IPv6 address of upstream resolver.
- port Integer
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet
Id String - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip string
- IPv6 address of upstream resolver.
- port number
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route
Through booleanPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet
Id string - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip str
- IPv6 address of upstream resolver.
- port int
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route_
through_ boolprivate_ network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet_
id str - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- IPv6 address of upstream resolver.
- port Number
- A port number to use for upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Whether to connect to this resolver over a private network. Must be set when vnet_id is set.
- vnet
Id String - Optionally specify a virtual network for this resolver. Uses default virtual network id if omitted.
GetZeroTrustGatewayPolicyRuleSettingsEgress
- Ipv4 string
- The IPv4 address to be used for egress.
- Ipv4Fallback string
- The fallback IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via WARP IPs.
- Ipv6 string
- The IPv6 range to be used for egress.
- Ipv4 string
- The IPv4 address to be used for egress.
- Ipv4Fallback string
- The fallback IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via WARP IPs.
- Ipv6 string
- The IPv6 range to be used for egress.
- ipv4 String
- The IPv4 address to be used for egress.
- ipv4Fallback String
- The fallback IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 String
- The IPv6 range to be used for egress.
- ipv4 string
- The IPv4 address to be used for egress.
- ipv4Fallback string
- The fallback IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 string
- The IPv6 range to be used for egress.
- ipv4 str
- The IPv4 address to be used for egress.
- ipv4_
fallback str - The fallback IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 str
- The IPv6 range to be used for egress.
- ipv4 String
- The IPv4 address to be used for egress.
- ipv4Fallback String
- The fallback IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 String
- The IPv6 range to be used for egress.
GetZeroTrustGatewayPolicyRuleSettingsL4override
GetZeroTrustGatewayPolicyRuleSettingsNotificationSettings
- Enabled bool
- Set notification on
- Msg string
- Customize the message shown in the notification.
- Support
Url string - Optional URL to direct users to additional information. If not set, the notification will open a block page.
- Enabled bool
- Set notification on
- Msg string
- Customize the message shown in the notification.
- Support
Url string - Optional URL to direct users to additional information. If not set, the notification will open a block page.
- enabled Boolean
- Set notification on
- msg String
- Customize the message shown in the notification.
- support
Url String - Optional URL to direct users to additional information. If not set, the notification will open a block page.
- enabled boolean
- Set notification on
- msg string
- Customize the message shown in the notification.
- support
Url string - Optional URL to direct users to additional information. If not set, the notification will open a block page.
- enabled bool
- Set notification on
- msg str
- Customize the message shown in the notification.
- support_
url str - Optional URL to direct users to additional information. If not set, the notification will open a block page.
- enabled Boolean
- Set notification on
- msg String
- Customize the message shown in the notification.
- support
Url String - Optional URL to direct users to additional information. If not set, the notification will open a block page.
GetZeroTrustGatewayPolicyRuleSettingsPayloadLog
- Enabled bool
- Set to true to enable DLP payload logging for this rule.
- Enabled bool
- Set to true to enable DLP payload logging for this rule.
- enabled Boolean
- Set to true to enable DLP payload logging for this rule.
- enabled boolean
- Set to true to enable DLP payload logging for this rule.
- enabled bool
- Set to true to enable DLP payload logging for this rule.
- enabled Boolean
- Set to true to enable DLP payload logging for this rule.
GetZeroTrustGatewayPolicyRuleSettingsQuarantine
- File
Types List<string> - Types of files to sandbox.
- File
Types []string - Types of files to sandbox.
- file
Types List<String> - Types of files to sandbox.
- file
Types string[] - Types of files to sandbox.
- file_
types Sequence[str] - Types of files to sandbox.
- file
Types List<String> - Types of files to sandbox.
GetZeroTrustGatewayPolicyRuleSettingsRedirect
- Include
Context bool - If true, context information will be passed as query parameters
- Preserve
Path boolAnd Query - If true, the path and query parameters from the original request will be appended to target_uri
- Target
Uri string - URI to which the user will be redirected
- Include
Context bool - If true, context information will be passed as query parameters
- Preserve
Path boolAnd Query - If true, the path and query parameters from the original request will be appended to target_uri
- Target
Uri string - URI to which the user will be redirected
- include
Context Boolean - If true, context information will be passed as query parameters
- preserve
Path BooleanAnd Query - If true, the path and query parameters from the original request will be appended to target_uri
- target
Uri String - URI to which the user will be redirected
- include
Context boolean - If true, context information will be passed as query parameters
- preserve
Path booleanAnd Query - If true, the path and query parameters from the original request will be appended to target_uri
- target
Uri string - URI to which the user will be redirected
- include_
context bool - If true, context information will be passed as query parameters
- preserve_
path_ booland_ query - If true, the path and query parameters from the original request will be appended to target_uri
- target_
uri str - URI to which the user will be redirected
- include
Context Boolean - If true, context information will be passed as query parameters
- preserve
Path BooleanAnd Query - If true, the path and query parameters from the original request will be appended to target_uri
- target
Uri String - URI to which the user will be redirected
GetZeroTrustGatewayPolicyRuleSettingsResolveDnsInternally
- Fallback string
- The fallback behavior to apply when the internal DNS response code is different from 'NOERROR' or when the response data only contains CNAME records for 'A' or 'AAAA' queries. Available values: "none", "public_dns".
- View
Id string - The internal DNS view identifier that's passed to the internal DNS service.
- Fallback string
- The fallback behavior to apply when the internal DNS response code is different from 'NOERROR' or when the response data only contains CNAME records for 'A' or 'AAAA' queries. Available values: "none", "public_dns".
- View
Id string - The internal DNS view identifier that's passed to the internal DNS service.
- fallback String
- The fallback behavior to apply when the internal DNS response code is different from 'NOERROR' or when the response data only contains CNAME records for 'A' or 'AAAA' queries. Available values: "none", "public_dns".
- view
Id String - The internal DNS view identifier that's passed to the internal DNS service.
- fallback string
- The fallback behavior to apply when the internal DNS response code is different from 'NOERROR' or when the response data only contains CNAME records for 'A' or 'AAAA' queries. Available values: "none", "public_dns".
- view
Id string - The internal DNS view identifier that's passed to the internal DNS service.
- fallback str
- The fallback behavior to apply when the internal DNS response code is different from 'NOERROR' or when the response data only contains CNAME records for 'A' or 'AAAA' queries. Available values: "none", "public_dns".
- view_
id str - The internal DNS view identifier that's passed to the internal DNS service.
- fallback String
- The fallback behavior to apply when the internal DNS response code is different from 'NOERROR' or when the response data only contains CNAME records for 'A' or 'AAAA' queries. Available values: "none", "public_dns".
- view
Id String - The internal DNS view identifier that's passed to the internal DNS service.
GetZeroTrustGatewayPolicyRuleSettingsUntrustedCert
- Action string
- The action performed when an untrusted certificate is seen. The default action is an error with HTTP code 526. Available values: "pass_through", "block", "error".
- Action string
- The action performed when an untrusted certificate is seen. The default action is an error with HTTP code 526. Available values: "pass_through", "block", "error".
- action String
- The action performed when an untrusted certificate is seen. The default action is an error with HTTP code 526. Available values: "pass_through", "block", "error".
- action string
- The action performed when an untrusted certificate is seen. The default action is an error with HTTP code 526. Available values: "pass_through", "block", "error".
- action str
- The action performed when an untrusted certificate is seen. The default action is an error with HTTP code 526. Available values: "pass_through", "block", "error".
- action String
- The action performed when an untrusted certificate is seen. The default action is an error with HTTP code 526. Available values: "pass_through", "block", "error".
GetZeroTrustGatewayPolicySchedule
- Fri string
- The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays.
- Mon string
- The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays.
- Sat string
- The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays.
- Sun string
- The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays.
- Thu string
- The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays.
- Time
Zone string - The time zone the rule will be evaluated against. If a valid time zone city name is provided, Gateway will always use the current time at that time zone. If this parameter is omitted, then Gateway will use the time zone inferred from the user's source IP to evaluate the rule. If Gateway cannot determine the time zone from the IP, we will fall back to the time zone of the user's connected data center.
- Tue string
- The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays.
- Wed string
- The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays.
- Fri string
- The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays.
- Mon string
- The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays.
- Sat string
- The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays.
- Sun string
- The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays.
- Thu string
- The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays.
- Time
Zone string - The time zone the rule will be evaluated against. If a valid time zone city name is provided, Gateway will always use the current time at that time zone. If this parameter is omitted, then Gateway will use the time zone inferred from the user's source IP to evaluate the rule. If Gateway cannot determine the time zone from the IP, we will fall back to the time zone of the user's connected data center.
- Tue string
- The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays.
- Wed string
- The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays.
- fri String
- The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays.
- mon String
- The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays.
- sat String
- The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays.
- sun String
- The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays.
- thu String
- The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays.
- time
Zone String - The time zone the rule will be evaluated against. If a valid time zone city name is provided, Gateway will always use the current time at that time zone. If this parameter is omitted, then Gateway will use the time zone inferred from the user's source IP to evaluate the rule. If Gateway cannot determine the time zone from the IP, we will fall back to the time zone of the user's connected data center.
- tue String
- The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays.
- wed String
- The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays.
- fri string
- The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays.
- mon string
- The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays.
- sat string
- The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays.
- sun string
- The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays.
- thu string
- The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays.
- time
Zone string - The time zone the rule will be evaluated against. If a valid time zone city name is provided, Gateway will always use the current time at that time zone. If this parameter is omitted, then Gateway will use the time zone inferred from the user's source IP to evaluate the rule. If Gateway cannot determine the time zone from the IP, we will fall back to the time zone of the user's connected data center.
- tue string
- The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays.
- wed string
- The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays.
- fri str
- The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays.
- mon str
- The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays.
- sat str
- The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays.
- sun str
- The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays.
- thu str
- The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays.
- time_
zone str - The time zone the rule will be evaluated against. If a valid time zone city name is provided, Gateway will always use the current time at that time zone. If this parameter is omitted, then Gateway will use the time zone inferred from the user's source IP to evaluate the rule. If Gateway cannot determine the time zone from the IP, we will fall back to the time zone of the user's connected data center.
- tue str
- The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays.
- wed str
- The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays.
- fri String
- The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays.
- mon String
- The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays.
- sat String
- The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays.
- sun String
- The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays.
- thu String
- The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays.
- time
Zone String - The time zone the rule will be evaluated against. If a valid time zone city name is provided, Gateway will always use the current time at that time zone. If this parameter is omitted, then Gateway will use the time zone inferred from the user's source IP to evaluate the rule. If Gateway cannot determine the time zone from the IP, we will fall back to the time zone of the user's connected data center.
- tue String
- The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays.
- wed String
- The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.