Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Accepted Permissions
Zero Trust ReadZero Trust Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustCasbPolicies = cloudflare.getZeroTrustCasbPolicies({
accountId: "46148281d8a93d002ef242d8b0d5f9f6",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_casb_policies = cloudflare.get_zero_trust_casb_policies(account_id="46148281d8a93d002ef242d8b0d5f9f6")
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.GetZeroTrustCasbPolicies(ctx, &cloudflare.LookupZeroTrustCasbPoliciesArgs{
AccountId: "46148281d8a93d002ef242d8b0d5f9f6",
}, 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 exampleZeroTrustCasbPolicies = Cloudflare.GetZeroTrustCasbPolicies.Invoke(new()
{
AccountId = "46148281d8a93d002ef242d8b0d5f9f6",
});
});
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.GetZeroTrustCasbPoliciesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleZeroTrustCasbPolicies = CloudflareFunctions.getZeroTrustCasbPolicies(GetZeroTrustCasbPoliciesArgs.builder()
.accountId("46148281d8a93d002ef242d8b0d5f9f6")
.build());
}
}
variables:
exampleZeroTrustCasbPolicies:
fn::invoke:
function: cloudflare:getZeroTrustCasbPolicies
arguments:
accountId: 46148281d8a93d002ef242d8b0d5f9f6
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_zero_trust_casb_policies" "exampleZeroTrustCasbPolicies" {
account_id = "46148281d8a93d002ef242d8b0d5f9f6"
}
Using getZeroTrustCasbPolicies
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 getZeroTrustCasbPolicies(args: GetZeroTrustCasbPoliciesArgs, opts?: InvokeOptions): Promise<GetZeroTrustCasbPoliciesResult>
function getZeroTrustCasbPoliciesOutput(args: GetZeroTrustCasbPoliciesOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustCasbPoliciesResult>def get_zero_trust_casb_policies(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustCasbPoliciesResult
def get_zero_trust_casb_policies_output(account_id: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustCasbPoliciesResult]func LookupZeroTrustCasbPolicies(ctx *Context, args *LookupZeroTrustCasbPoliciesArgs, opts ...InvokeOption) (*LookupZeroTrustCasbPoliciesResult, error)
func LookupZeroTrustCasbPoliciesOutput(ctx *Context, args *LookupZeroTrustCasbPoliciesOutputArgs, opts ...InvokeOption) LookupZeroTrustCasbPoliciesResultOutput> Note: This function is named LookupZeroTrustCasbPolicies in the Go SDK.
public static class GetZeroTrustCasbPolicies
{
public static Task<GetZeroTrustCasbPoliciesResult> InvokeAsync(GetZeroTrustCasbPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustCasbPoliciesResult> Invoke(GetZeroTrustCasbPoliciesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustCasbPoliciesResult> Invoke(GetZeroTrustCasbPoliciesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetZeroTrustCasbPoliciesResult> getZeroTrustCasbPolicies(GetZeroTrustCasbPoliciesArgs args, InvokeOptions options)
public static Output<GetZeroTrustCasbPoliciesResult> getZeroTrustCasbPolicies(GetZeroTrustCasbPoliciesArgs args, InvokeOptions options)
public static Output<GetZeroTrustCasbPoliciesResult> getZeroTrustCasbPolicies(GetZeroTrustCasbPoliciesArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustCasbPolicies:getZeroTrustCasbPolicies
arguments:
# arguments dictionarydata "cloudflare_get_zero_trust_casb_policies" "name" {
# arguments
}The following arguments are supported:
- account_
id string - max_
items number - Max items to fetch, default: 1000
- account_
id str - max_
items int - Max items to fetch, default: 1000
getZeroTrustCasbPolicies Result
The following output properties are available:
- Account
Id string - Results
List<Get
Zero Trust Casb Policies Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Results
[]Get
Zero Trust Casb Policies Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account_
id string - results list(object)
- The items returned by the data source
- max_
items number - Max items to fetch, default: 1000
- account
Id String - results
List<Get
Zero Trust Casb Policies Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - results
Get
Zero Trust Casb Policies Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - results
Sequence[Get
Zero Trust Casb Policies Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetZeroTrustCasbPoliciesResult
- Actions
Get
Zero Trust Casb Policies Result Actions - The actions configured for this policy.
- Applies
To boolAll Integrations - When true, the policy applies to all integrations for the account. When false, it applies only to the specified integration_ids.
- Created
At string - Timestamp when the policy was created.
- Description string
- User-set description of what this policy does. Limited to 1000 characters.
- Disabled
At string - Timestamp when the policy was disabled. Omitted from the response when the policy is enabled.
- Display
Name string - Display name for the policy configuration. Limited to 255 characters.
- Enabled bool
- Whether the policy is enabled. Derived from disabledat (enabled when disabledat is unset).
- Finding
Type stringId - The finding type this policy is associated with. Immutable after creation; attempts to change it via update are rejected.
- Id string
- Unique identifier for the policy configuration.
- Integration
Ids List<string> - The integrations this policy applies to.
- Last
Triggered stringAt - Timestamp of the most recent successful policy invocation. Omitted from the response when the policy has never been successfully triggered. Only populated on GET responses; absent on responses from create/update endpoints.
- Updated
At string - Timestamp when the policy was last updated.
- Actions
Get
Zero Trust Casb Policies Result Actions - The actions configured for this policy.
- Applies
To boolAll Integrations - When true, the policy applies to all integrations for the account. When false, it applies only to the specified integration_ids.
- Created
At string - Timestamp when the policy was created.
- Description string
- User-set description of what this policy does. Limited to 1000 characters.
- Disabled
At string - Timestamp when the policy was disabled. Omitted from the response when the policy is enabled.
- Display
Name string - Display name for the policy configuration. Limited to 255 characters.
- Enabled bool
- Whether the policy is enabled. Derived from disabledat (enabled when disabledat is unset).
- Finding
Type stringId - The finding type this policy is associated with. Immutable after creation; attempts to change it via update are rejected.
- Id string
- Unique identifier for the policy configuration.
- Integration
Ids []string - The integrations this policy applies to.
- Last
Triggered stringAt - Timestamp of the most recent successful policy invocation. Omitted from the response when the policy has never been successfully triggered. Only populated on GET responses; absent on responses from create/update endpoints.
- Updated
At string - Timestamp when the policy was last updated.
- actions object
- The actions configured for this policy.
- applies_
to_ boolall_ integrations - When true, the policy applies to all integrations for the account. When false, it applies only to the specified integration_ids.
- created_
at string - Timestamp when the policy was created.
- description string
- User-set description of what this policy does. Limited to 1000 characters.
- disabled_
at string - Timestamp when the policy was disabled. Omitted from the response when the policy is enabled.
- display_
name string - Display name for the policy configuration. Limited to 255 characters.
- enabled bool
- Whether the policy is enabled. Derived from disabledat (enabled when disabledat is unset).
- finding_
type_ stringid - The finding type this policy is associated with. Immutable after creation; attempts to change it via update are rejected.
- id string
- Unique identifier for the policy configuration.
- integration_
ids list(string) - The integrations this policy applies to.
- last_
triggered_ stringat - Timestamp of the most recent successful policy invocation. Omitted from the response when the policy has never been successfully triggered. Only populated on GET responses; absent on responses from create/update endpoints.
- updated_
at string - Timestamp when the policy was last updated.
- actions
Get
Zero Trust Casb Policies Result Actions - The actions configured for this policy.
- applies
To BooleanAll Integrations - When true, the policy applies to all integrations for the account. When false, it applies only to the specified integration_ids.
- created
At String - Timestamp when the policy was created.
- description String
- User-set description of what this policy does. Limited to 1000 characters.
- disabled
At String - Timestamp when the policy was disabled. Omitted from the response when the policy is enabled.
- display
Name String - Display name for the policy configuration. Limited to 255 characters.
- enabled Boolean
- Whether the policy is enabled. Derived from disabledat (enabled when disabledat is unset).
- finding
Type StringId - The finding type this policy is associated with. Immutable after creation; attempts to change it via update are rejected.
- id String
- Unique identifier for the policy configuration.
- integration
Ids List<String> - The integrations this policy applies to.
- last
Triggered StringAt - Timestamp of the most recent successful policy invocation. Omitted from the response when the policy has never been successfully triggered. Only populated on GET responses; absent on responses from create/update endpoints.
- updated
At String - Timestamp when the policy was last updated.
- actions
Get
Zero Trust Casb Policies Result Actions - The actions configured for this policy.
- applies
To booleanAll Integrations - When true, the policy applies to all integrations for the account. When false, it applies only to the specified integration_ids.
- created
At string - Timestamp when the policy was created.
- description string
- User-set description of what this policy does. Limited to 1000 characters.
- disabled
At string - Timestamp when the policy was disabled. Omitted from the response when the policy is enabled.
- display
Name string - Display name for the policy configuration. Limited to 255 characters.
- enabled boolean
- Whether the policy is enabled. Derived from disabledat (enabled when disabledat is unset).
- finding
Type stringId - The finding type this policy is associated with. Immutable after creation; attempts to change it via update are rejected.
- id string
- Unique identifier for the policy configuration.
- integration
Ids string[] - The integrations this policy applies to.
- last
Triggered stringAt - Timestamp of the most recent successful policy invocation. Omitted from the response when the policy has never been successfully triggered. Only populated on GET responses; absent on responses from create/update endpoints.
- updated
At string - Timestamp when the policy was last updated.
- actions
Get
Zero Trust Casb Policies Result Actions - The actions configured for this policy.
- applies_
to_ boolall_ integrations - When true, the policy applies to all integrations for the account. When false, it applies only to the specified integration_ids.
- created_
at str - Timestamp when the policy was created.
- description str
- User-set description of what this policy does. Limited to 1000 characters.
- disabled_
at str - Timestamp when the policy was disabled. Omitted from the response when the policy is enabled.
- display_
name str - Display name for the policy configuration. Limited to 255 characters.
- enabled bool
- Whether the policy is enabled. Derived from disabledat (enabled when disabledat is unset).
- finding_
type_ strid - The finding type this policy is associated with. Immutable after creation; attempts to change it via update are rejected.
- id str
- Unique identifier for the policy configuration.
- integration_
ids Sequence[str] - The integrations this policy applies to.
- last_
triggered_ strat - Timestamp of the most recent successful policy invocation. Omitted from the response when the policy has never been successfully triggered. Only populated on GET responses; absent on responses from create/update endpoints.
- updated_
at str - Timestamp when the policy was last updated.
- actions Property Map
- The actions configured for this policy.
- applies
To BooleanAll Integrations - When true, the policy applies to all integrations for the account. When false, it applies only to the specified integration_ids.
- created
At String - Timestamp when the policy was created.
- description String
- User-set description of what this policy does. Limited to 1000 characters.
- disabled
At String - Timestamp when the policy was disabled. Omitted from the response when the policy is enabled.
- display
Name String - Display name for the policy configuration. Limited to 255 characters.
- enabled Boolean
- Whether the policy is enabled. Derived from disabledat (enabled when disabledat is unset).
- finding
Type StringId - The finding type this policy is associated with. Immutable after creation; attempts to change it via update are rejected.
- id String
- Unique identifier for the policy configuration.
- integration
Ids List<String> - The integrations this policy applies to.
- last
Triggered StringAt - Timestamp of the most recent successful policy invocation. Omitted from the response when the policy has never been successfully triggered. Only populated on GET responses; absent on responses from create/update endpoints.
- updated
At String - Timestamp when the policy was last updated.
GetZeroTrustCasbPoliciesResultActions
- Remediation
Types List<GetZero Trust Casb Policies Result Actions Remediation Type> - List of remediation types that will be executed.
- Webhook
Configs List<GetZero Trust Casb Policies Result Actions Webhook Config> - List of webhook configurations that will be triggered.
- Remediation
Types []GetZero Trust Casb Policies Result Actions Remediation Type - List of remediation types that will be executed.
- Webhook
Configs []GetZero Trust Casb Policies Result Actions Webhook Config - List of webhook configurations that will be triggered.
- remediation_
types list(object) - List of remediation types that will be executed.
- webhook_
configs list(object) - List of webhook configurations that will be triggered.
- remediation
Types List<GetZero Trust Casb Policies Result Actions Remediation Type> - List of remediation types that will be executed.
- webhook
Configs List<GetZero Trust Casb Policies Result Actions Webhook Config> - List of webhook configurations that will be triggered.
- remediation
Types GetZero Trust Casb Policies Result Actions Remediation Type[] - List of remediation types that will be executed.
- webhook
Configs GetZero Trust Casb Policies Result Actions Webhook Config[] - List of webhook configurations that will be triggered.
- remediation_
types Sequence[GetZero Trust Casb Policies Result Actions Remediation Type] - List of remediation types that will be executed.
- webhook_
configs Sequence[GetZero Trust Casb Policies Result Actions Webhook Config] - List of webhook configurations that will be triggered.
- remediation
Types List<Property Map> - List of remediation types that will be executed.
- webhook
Configs List<Property Map> - List of webhook configurations that will be triggered.
GetZeroTrustCasbPoliciesResultActionsRemediationType
- Display
Name string - Display name/label of the remediation type.
- Remediation
Type string - The system name of the remediation type.
- Remediation
Type stringId - Unique identifier for the remediation type.
- Display
Name string - Display name/label of the remediation type.
- Remediation
Type string - The system name of the remediation type.
- Remediation
Type stringId - Unique identifier for the remediation type.
- display_
name string - Display name/label of the remediation type.
- remediation_
type string - The system name of the remediation type.
- remediation_
type_ stringid - Unique identifier for the remediation type.
- display
Name String - Display name/label of the remediation type.
- remediation
Type String - The system name of the remediation type.
- remediation
Type StringId - Unique identifier for the remediation type.
- display
Name string - Display name/label of the remediation type.
- remediation
Type string - The system name of the remediation type.
- remediation
Type stringId - Unique identifier for the remediation type.
- display_
name str - Display name/label of the remediation type.
- remediation_
type str - The system name of the remediation type.
- remediation_
type_ strid - Unique identifier for the remediation type.
- display
Name String - Display name/label of the remediation type.
- remediation
Type String - The system name of the remediation type.
- remediation
Type StringId - Unique identifier for the remediation type.
GetZeroTrustCasbPoliciesResultActionsWebhookConfig
- Display
Name string - Display name/label of the webhook configuration.
- Webhook
Config stringId - Unique identifier for the webhook configuration.
- Display
Name string - Display name/label of the webhook configuration.
- Webhook
Config stringId - Unique identifier for the webhook configuration.
- display_
name string - Display name/label of the webhook configuration.
- webhook_
config_ stringid - Unique identifier for the webhook configuration.
- display
Name String - Display name/label of the webhook configuration.
- webhook
Config StringId - Unique identifier for the webhook configuration.
- display
Name string - Display name/label of the webhook configuration.
- webhook
Config stringId - Unique identifier for the webhook configuration.
- display_
name str - Display name/label of the webhook configuration.
- webhook_
config_ strid - Unique identifier for the webhook configuration.
- display
Name String - Display name/label of the webhook configuration.
- webhook
Config StringId - Unique identifier for the webhook configuration.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi