1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDlpCustomProfile
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getZeroTrustDlpCustomProfile

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDlpCustomProfile = cloudflare.getZeroTrustDlpCustomProfile({
        accountId: "account_id",
        profileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_dlp_custom_profile = cloudflare.get_zero_trust_dlp_custom_profile(account_id="account_id",
        profile_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.LookupZeroTrustDlpCustomProfile(ctx, &cloudflare.LookupZeroTrustDlpCustomProfileArgs{
    			AccountId: "account_id",
    			ProfileId: "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 exampleZeroTrustDlpCustomProfile = Cloudflare.GetZeroTrustDlpCustomProfile.Invoke(new()
        {
            AccountId = "account_id",
            ProfileId = "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.GetZeroTrustDlpCustomProfileArgs;
    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 exampleZeroTrustDlpCustomProfile = CloudflareFunctions.getZeroTrustDlpCustomProfile(GetZeroTrustDlpCustomProfileArgs.builder()
                .accountId("account_id")
                .profileId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDlpCustomProfile:
        fn::invoke:
          function: cloudflare:getZeroTrustDlpCustomProfile
          arguments:
            accountId: account_id
            profileId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
    

    Using getZeroTrustDlpCustomProfile

    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 getZeroTrustDlpCustomProfile(args: GetZeroTrustDlpCustomProfileArgs, opts?: InvokeOptions): Promise<GetZeroTrustDlpCustomProfileResult>
    function getZeroTrustDlpCustomProfileOutput(args: GetZeroTrustDlpCustomProfileOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDlpCustomProfileResult>
    def get_zero_trust_dlp_custom_profile(account_id: Optional[str] = None,
                                          profile_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetZeroTrustDlpCustomProfileResult
    def get_zero_trust_dlp_custom_profile_output(account_id: Optional[pulumi.Input[str]] = None,
                                          profile_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDlpCustomProfileResult]
    func LookupZeroTrustDlpCustomProfile(ctx *Context, args *LookupZeroTrustDlpCustomProfileArgs, opts ...InvokeOption) (*LookupZeroTrustDlpCustomProfileResult, error)
    func LookupZeroTrustDlpCustomProfileOutput(ctx *Context, args *LookupZeroTrustDlpCustomProfileOutputArgs, opts ...InvokeOption) LookupZeroTrustDlpCustomProfileResultOutput

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

    public static class GetZeroTrustDlpCustomProfile 
    {
        public static Task<GetZeroTrustDlpCustomProfileResult> InvokeAsync(GetZeroTrustDlpCustomProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDlpCustomProfileResult> Invoke(GetZeroTrustDlpCustomProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustDlpCustomProfileResult> getZeroTrustDlpCustomProfile(GetZeroTrustDlpCustomProfileArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDlpCustomProfileResult> getZeroTrustDlpCustomProfile(GetZeroTrustDlpCustomProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDlpCustomProfile:getZeroTrustDlpCustomProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    ProfileId string
    AccountId string
    ProfileId string
    accountId String
    profileId String
    accountId string
    profileId string
    accountId String
    profileId String

    getZeroTrustDlpCustomProfile Result

    The following output properties are available:

    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    Available values: "low", "medium", "high", "very_high".
    ContextAwareness GetZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    CreatedAt string
    When the profile was created
    Description string
    The description of the profile
    Entries List<GetZeroTrustDlpCustomProfileEntry>
    Id string
    The id of the profile (uuid)
    Name string
    The name of the profile
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone
    ProfileId string
    Type string
    Available values: "custom".
    UpdatedAt string
    When the profile was lasted updated
    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    Available values: "low", "medium", "high", "very_high".
    ContextAwareness GetZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    CreatedAt string
    When the profile was created
    Description string
    The description of the profile
    Entries []GetZeroTrustDlpCustomProfileEntry
    Id string
    The id of the profile (uuid)
    Name string
    The name of the profile
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone
    ProfileId string
    Type string
    Available values: "custom".
    UpdatedAt string
    When the profile was lasted updated
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Integer
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    Available values: "low", "medium", "high", "very_high".
    contextAwareness GetZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    createdAt String
    When the profile was created
    description String
    The description of the profile
    entries List<GetZeroTrustDlpCustomProfileEntry>
    id String
    The id of the profile (uuid)
    name String
    The name of the profile
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone
    profileId String
    type String
    Available values: "custom".
    updatedAt String
    When the profile was lasted updated
    accountId string
    aiContextEnabled boolean
    allowedMatchCount number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold string
    Available values: "low", "medium", "high", "very_high".
    contextAwareness GetZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    createdAt string
    When the profile was created
    description string
    The description of the profile
    entries GetZeroTrustDlpCustomProfileEntry[]
    id string
    The id of the profile (uuid)
    name string
    The name of the profile
    ocrEnabled boolean
    openAccess boolean
    Whether this profile can be accessed by anyone
    profileId string
    type string
    Available values: "custom".
    updatedAt string
    When the profile was lasted updated
    account_id str
    ai_context_enabled bool
    allowed_match_count int
    Related DLP policies will trigger when the match count exceeds the number set.
    confidence_threshold str
    Available values: "low", "medium", "high", "very_high".
    context_awareness GetZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    created_at str
    When the profile was created
    description str
    The description of the profile
    entries Sequence[GetZeroTrustDlpCustomProfileEntry]
    id str
    The id of the profile (uuid)
    name str
    The name of the profile
    ocr_enabled bool
    open_access bool
    Whether this profile can be accessed by anyone
    profile_id str
    type str
    Available values: "custom".
    updated_at str
    When the profile was lasted updated
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    Available values: "low", "medium", "high", "very_high".
    contextAwareness Property Map
    Scan the context of predefined entries to only return matches surrounded by keywords.
    createdAt String
    When the profile was created
    description String
    The description of the profile
    entries List<Property Map>
    id String
    The id of the profile (uuid)
    name String
    The name of the profile
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone
    profileId String
    type String
    Available values: "custom".
    updatedAt String
    When the profile was lasted updated

    Supporting Types

    GetZeroTrustDlpCustomProfileContextAwareness

    Enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    Skip GetZeroTrustDlpCustomProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    Enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    Skip GetZeroTrustDlpCustomProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled Boolean
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip GetZeroTrustDlpCustomProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled boolean
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip GetZeroTrustDlpCustomProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip GetZeroTrustDlpCustomProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled Boolean
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip Property Map
    Content types to exclude from context analysis and return all matches.

    GetZeroTrustDlpCustomProfileContextAwarenessSkip

    Files bool
    If the content type is a file, skip context analysis and return all matches.
    Files bool
    If the content type is a file, skip context analysis and return all matches.
    files Boolean
    If the content type is a file, skip context analysis and return all matches.
    files boolean
    If the content type is a file, skip context analysis and return all matches.
    files bool
    If the content type is a file, skip context analysis and return all matches.
    files Boolean
    If the content type is a file, skip context analysis and return all matches.

    GetZeroTrustDlpCustomProfileEntry

    confidence Property Map
    createdAt String
    enabled Boolean
    id String
    name String
    pattern Property Map
    profileId String
    secret Boolean
    type String
    Available values: "custom".
    updatedAt String
    wordList String

    GetZeroTrustDlpCustomProfileEntryConfidence

    AiContextAvailable bool
    Indicates whether this entry has AI remote service validation
    Available bool
    Indicates whether this entry has any form of validation that is not an AI remote service
    AiContextAvailable bool
    Indicates whether this entry has AI remote service validation
    Available bool
    Indicates whether this entry has any form of validation that is not an AI remote service
    aiContextAvailable Boolean
    Indicates whether this entry has AI remote service validation
    available Boolean
    Indicates whether this entry has any form of validation that is not an AI remote service
    aiContextAvailable boolean
    Indicates whether this entry has AI remote service validation
    available boolean
    Indicates whether this entry has any form of validation that is not an AI remote service
    ai_context_available bool
    Indicates whether this entry has AI remote service validation
    available bool
    Indicates whether this entry has any form of validation that is not an AI remote service
    aiContextAvailable Boolean
    Indicates whether this entry has AI remote service validation
    available Boolean
    Indicates whether this entry has any form of validation that is not an AI remote service

    GetZeroTrustDlpCustomProfileEntryPattern

    Regex string
    Validation string
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    Regex string
    Validation string
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex String
    validation String
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex string
    validation string
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex str
    validation str
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex String
    validation String
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    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 v6.1.2 published on Monday, Apr 28, 2025 by Pulumi