1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustCasbWebhooks
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi

    Accepted Permissions

    • Zero Trust Read
    • Zero Trust Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustCasbWebhooks = cloudflare.getZeroTrustCasbWebhooks({
        accountId: "46148281d8a93d002ef242d8b0d5f9f6",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_casb_webhooks = cloudflare.get_zero_trust_casb_webhooks(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.GetZeroTrustCasbWebhooks(ctx, &cloudflare.LookupZeroTrustCasbWebhooksArgs{
    			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 exampleZeroTrustCasbWebhooks = Cloudflare.GetZeroTrustCasbWebhooks.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.GetZeroTrustCasbWebhooksArgs;
    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 exampleZeroTrustCasbWebhooks = CloudflareFunctions.getZeroTrustCasbWebhooks(GetZeroTrustCasbWebhooksArgs.builder()
                .accountId("46148281d8a93d002ef242d8b0d5f9f6")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustCasbWebhooks:
        fn::invoke:
          function: cloudflare:getZeroTrustCasbWebhooks
          arguments:
            accountId: 46148281d8a93d002ef242d8b0d5f9f6
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_casb_webhooks" "exampleZeroTrustCasbWebhooks" {
      account_id = "46148281d8a93d002ef242d8b0d5f9f6"
    }
    

    Using getZeroTrustCasbWebhooks

    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 getZeroTrustCasbWebhooks(args: GetZeroTrustCasbWebhooksArgs, opts?: InvokeOptions): Promise<GetZeroTrustCasbWebhooksResult>
    function getZeroTrustCasbWebhooksOutput(args: GetZeroTrustCasbWebhooksOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustCasbWebhooksResult>
    def get_zero_trust_casb_webhooks(account_id: Optional[str] = None,
                                     max_items: Optional[int] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetZeroTrustCasbWebhooksResult
    def get_zero_trust_casb_webhooks_output(account_id: pulumi.Input[Optional[str]] = None,
                                     max_items: pulumi.Input[Optional[int]] = None,
                                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustCasbWebhooksResult]
    func LookupZeroTrustCasbWebhooks(ctx *Context, args *LookupZeroTrustCasbWebhooksArgs, opts ...InvokeOption) (*LookupZeroTrustCasbWebhooksResult, error)
    func LookupZeroTrustCasbWebhooksOutput(ctx *Context, args *LookupZeroTrustCasbWebhooksOutputArgs, opts ...InvokeOption) LookupZeroTrustCasbWebhooksResultOutput

    > Note: This function is named LookupZeroTrustCasbWebhooks in the Go SDK.

    public static class GetZeroTrustCasbWebhooks 
    {
        public static Task<GetZeroTrustCasbWebhooksResult> InvokeAsync(GetZeroTrustCasbWebhooksArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbWebhooksResult> Invoke(GetZeroTrustCasbWebhooksInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbWebhooksResult> Invoke(GetZeroTrustCasbWebhooksInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustCasbWebhooksResult> getZeroTrustCasbWebhooks(GetZeroTrustCasbWebhooksArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbWebhooksResult> getZeroTrustCasbWebhooks(GetZeroTrustCasbWebhooksArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbWebhooksResult> getZeroTrustCasbWebhooks(GetZeroTrustCasbWebhooksArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustCasbWebhooks:getZeroTrustCasbWebhooks
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_casb_webhooks" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    account_id string
    max_items number
    Max items to fetch, default: 1000
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    max_items int
    Max items to fetch, default: 1000
    accountId String
    maxItems Number
    Max items to fetch, default: 1000

    getZeroTrustCasbWebhooks Result

    The following output properties are available:

    AccountId string
    Results List<GetZeroTrustCasbWebhooksResult>
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    Results []GetZeroTrustCasbWebhooksResult
    The items returned by the data source
    MaxItems 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
    accountId String
    results List<GetZeroTrustCasbWebhooksResult>
    The items returned by the data source
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    results GetZeroTrustCasbWebhooksResult[]
    The items returned by the data source
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    results Sequence[GetZeroTrustCasbWebhooksResult]
    The items returned by the data source
    max_items int
    Max items to fetch, default: 1000
    accountId String
    results List<Property Map>
    The items returned by the data source
    maxItems Number
    Max items to fetch, default: 1000

    Supporting Types

    GetZeroTrustCasbWebhooksResult

    AuthenticationType string
    Type of authentication used for the webhook. Available values: "Basic Auth", "None", "Bearer Auth", "Static Headers", "HMAC-Signing".
    CreatedAt string
    Timestamp when the webhook configuration was created.
    DestinationUrl string
    Target URL for the webhook configuration. Where resulting data will be sent.
    Headers List<GetZeroTrustCasbWebhooksResultHeader>
    List of header keys configured for this webhook. Values are not included for security reasons.
    Id string
    Unique identifier for the specific webhook configuration.
    Label string
    Account-specified display label for the webhook configuration.
    Status string
    Current status of the webhook configuration. If disabled, data cannot be sent through this configuration. Available values: "enabled", "disabled".
    UpdatedAt string
    Timestamp when the webhook configuration was last updated.
    Version int
    Version number of the configuration.
    AuthenticationType string
    Type of authentication used for the webhook. Available values: "Basic Auth", "None", "Bearer Auth", "Static Headers", "HMAC-Signing".
    CreatedAt string
    Timestamp when the webhook configuration was created.
    DestinationUrl string
    Target URL for the webhook configuration. Where resulting data will be sent.
    Headers []GetZeroTrustCasbWebhooksResultHeader
    List of header keys configured for this webhook. Values are not included for security reasons.
    Id string
    Unique identifier for the specific webhook configuration.
    Label string
    Account-specified display label for the webhook configuration.
    Status string
    Current status of the webhook configuration. If disabled, data cannot be sent through this configuration. Available values: "enabled", "disabled".
    UpdatedAt string
    Timestamp when the webhook configuration was last updated.
    Version int
    Version number of the configuration.
    authentication_type string
    Type of authentication used for the webhook. Available values: "Basic Auth", "None", "Bearer Auth", "Static Headers", "HMAC-Signing".
    created_at string
    Timestamp when the webhook configuration was created.
    destination_url string
    Target URL for the webhook configuration. Where resulting data will be sent.
    headers list(object)
    List of header keys configured for this webhook. Values are not included for security reasons.
    id string
    Unique identifier for the specific webhook configuration.
    label string
    Account-specified display label for the webhook configuration.
    status string
    Current status of the webhook configuration. If disabled, data cannot be sent through this configuration. Available values: "enabled", "disabled".
    updated_at string
    Timestamp when the webhook configuration was last updated.
    version number
    Version number of the configuration.
    authenticationType String
    Type of authentication used for the webhook. Available values: "Basic Auth", "None", "Bearer Auth", "Static Headers", "HMAC-Signing".
    createdAt String
    Timestamp when the webhook configuration was created.
    destinationUrl String
    Target URL for the webhook configuration. Where resulting data will be sent.
    headers List<GetZeroTrustCasbWebhooksResultHeader>
    List of header keys configured for this webhook. Values are not included for security reasons.
    id String
    Unique identifier for the specific webhook configuration.
    label String
    Account-specified display label for the webhook configuration.
    status String
    Current status of the webhook configuration. If disabled, data cannot be sent through this configuration. Available values: "enabled", "disabled".
    updatedAt String
    Timestamp when the webhook configuration was last updated.
    version Integer
    Version number of the configuration.
    authenticationType string
    Type of authentication used for the webhook. Available values: "Basic Auth", "None", "Bearer Auth", "Static Headers", "HMAC-Signing".
    createdAt string
    Timestamp when the webhook configuration was created.
    destinationUrl string
    Target URL for the webhook configuration. Where resulting data will be sent.
    headers GetZeroTrustCasbWebhooksResultHeader[]
    List of header keys configured for this webhook. Values are not included for security reasons.
    id string
    Unique identifier for the specific webhook configuration.
    label string
    Account-specified display label for the webhook configuration.
    status string
    Current status of the webhook configuration. If disabled, data cannot be sent through this configuration. Available values: "enabled", "disabled".
    updatedAt string
    Timestamp when the webhook configuration was last updated.
    version number
    Version number of the configuration.
    authentication_type str
    Type of authentication used for the webhook. Available values: "Basic Auth", "None", "Bearer Auth", "Static Headers", "HMAC-Signing".
    created_at str
    Timestamp when the webhook configuration was created.
    destination_url str
    Target URL for the webhook configuration. Where resulting data will be sent.
    headers Sequence[GetZeroTrustCasbWebhooksResultHeader]
    List of header keys configured for this webhook. Values are not included for security reasons.
    id str
    Unique identifier for the specific webhook configuration.
    label str
    Account-specified display label for the webhook configuration.
    status str
    Current status of the webhook configuration. If disabled, data cannot be sent through this configuration. Available values: "enabled", "disabled".
    updated_at str
    Timestamp when the webhook configuration was last updated.
    version int
    Version number of the configuration.
    authenticationType String
    Type of authentication used for the webhook. Available values: "Basic Auth", "None", "Bearer Auth", "Static Headers", "HMAC-Signing".
    createdAt String
    Timestamp when the webhook configuration was created.
    destinationUrl String
    Target URL for the webhook configuration. Where resulting data will be sent.
    headers List<Property Map>
    List of header keys configured for this webhook. Values are not included for security reasons.
    id String
    Unique identifier for the specific webhook configuration.
    label String
    Account-specified display label for the webhook configuration.
    status String
    Current status of the webhook configuration. If disabled, data cannot be sent through this configuration. Available values: "enabled", "disabled".
    updatedAt String
    Timestamp when the webhook configuration was last updated.
    version Number
    Version number of the configuration.

    GetZeroTrustCasbWebhooksResultHeader

    Key string
    Header key name (lowercase).
    Value string
    Header value. This field is never returned in API responses for security reasons.
    Key string
    Header key name (lowercase).
    Value string
    Header value. This field is never returned in API responses for security reasons.
    key string
    Header key name (lowercase).
    value string
    Header value. This field is never returned in API responses for security reasons.
    key String
    Header key name (lowercase).
    value String
    Header value. This field is never returned in API responses for security reasons.
    key string
    Header key name (lowercase).
    value string
    Header value. This field is never returned in API responses for security reasons.
    key str
    Header key name (lowercase).
    value str
    Header value. This field is never returned in API responses for security reasons.
    key String
    Header key name (lowercase).
    value String
    Header value. This field is never returned in API responses for security reasons.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo cloudflare logo
    Viewing docs for Cloudflare v6.23.1
    published on Wednesday, Oct 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial