1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustCasbWebhook
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 exampleZeroTrustCasbWebhook = cloudflare.getZeroTrustCasbWebhook({
        accountId: "46148281d8a93d002ef242d8b0d5f9f6",
        webhookId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_casb_webhook = cloudflare.get_zero_trust_casb_webhook(account_id="46148281d8a93d002ef242d8b0d5f9f6",
        webhook_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
    
    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.GetZeroTrustCasbWebhook(ctx, &cloudflare.LookupZeroTrustCasbWebhookArgs{
    			AccountId: "46148281d8a93d002ef242d8b0d5f9f6",
    			WebhookId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    		}, 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 exampleZeroTrustCasbWebhook = Cloudflare.GetZeroTrustCasbWebhook.Invoke(new()
        {
            AccountId = "46148281d8a93d002ef242d8b0d5f9f6",
            WebhookId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
        });
    
    });
    
    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.GetZeroTrustCasbWebhookArgs;
    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 exampleZeroTrustCasbWebhook = CloudflareFunctions.getZeroTrustCasbWebhook(GetZeroTrustCasbWebhookArgs.builder()
                .accountId("46148281d8a93d002ef242d8b0d5f9f6")
                .webhookId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustCasbWebhook:
        fn::invoke:
          function: cloudflare:getZeroTrustCasbWebhook
          arguments:
            accountId: 46148281d8a93d002ef242d8b0d5f9f6
            webhookId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_casb_webhook" "exampleZeroTrustCasbWebhook" {
      account_id = "46148281d8a93d002ef242d8b0d5f9f6"
      webhook_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
    }
    

    Using getZeroTrustCasbWebhook

    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 getZeroTrustCasbWebhook(args: GetZeroTrustCasbWebhookArgs, opts?: InvokeOptions): Promise<GetZeroTrustCasbWebhookResult>
    function getZeroTrustCasbWebhookOutput(args: GetZeroTrustCasbWebhookOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustCasbWebhookResult>
    def get_zero_trust_casb_webhook(account_id: Optional[str] = None,
                                    webhook_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetZeroTrustCasbWebhookResult
    def get_zero_trust_casb_webhook_output(account_id: pulumi.Input[Optional[str]] = None,
                                    webhook_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustCasbWebhookResult]
    func LookupZeroTrustCasbWebhook(ctx *Context, args *LookupZeroTrustCasbWebhookArgs, opts ...InvokeOption) (*LookupZeroTrustCasbWebhookResult, error)
    func LookupZeroTrustCasbWebhookOutput(ctx *Context, args *LookupZeroTrustCasbWebhookOutputArgs, opts ...InvokeOption) LookupZeroTrustCasbWebhookResultOutput

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

    public static class GetZeroTrustCasbWebhook 
    {
        public static Task<GetZeroTrustCasbWebhookResult> InvokeAsync(GetZeroTrustCasbWebhookArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbWebhookResult> Invoke(GetZeroTrustCasbWebhookInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbWebhookResult> Invoke(GetZeroTrustCasbWebhookInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustCasbWebhookResult> getZeroTrustCasbWebhook(GetZeroTrustCasbWebhookArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbWebhookResult> getZeroTrustCasbWebhook(GetZeroTrustCasbWebhookArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbWebhookResult> getZeroTrustCasbWebhook(GetZeroTrustCasbWebhookArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustCasbWebhook:getZeroTrustCasbWebhook
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_casb_webhook" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    WebhookId string
    AccountId string
    WebhookId string
    account_id string
    webhook_id string
    accountId String
    webhookId String
    accountId string
    webhookId string
    accountId String
    webhookId String

    getZeroTrustCasbWebhook Result

    The following output properties are available:

    AccountId string
    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<GetZeroTrustCasbWebhookHeader>
    List of header keys configured for this webhook. Values are not included for security reasons.
    Id string
    The ID of this resource.
    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.
    WebhookId string
    AccountId string
    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 []GetZeroTrustCasbWebhookHeader
    List of header keys configured for this webhook. Values are not included for security reasons.
    Id string
    The ID of this resource.
    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.
    WebhookId string
    account_id string
    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
    The ID of this resource.
    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.
    webhook_id string
    accountId String
    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<GetZeroTrustCasbWebhookHeader>
    List of header keys configured for this webhook. Values are not included for security reasons.
    id String
    The ID of this resource.
    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.
    webhookId String
    accountId string
    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 GetZeroTrustCasbWebhookHeader[]
    List of header keys configured for this webhook. Values are not included for security reasons.
    id string
    The ID of this resource.
    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.
    webhookId string
    account_id str
    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[GetZeroTrustCasbWebhookHeader]
    List of header keys configured for this webhook. Values are not included for security reasons.
    id str
    The ID of this resource.
    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.
    webhook_id str
    accountId String
    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
    The ID of this resource.
    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.
    webhookId String

    Supporting Types

    GetZeroTrustCasbWebhookHeader

    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