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

cloudflare.ZeroTrustDlpCustomProfile

Explore with Pulumi AI

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

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      exampleZeroTrustDlpCustomProfile:
        type: cloudflare:ZeroTrustDlpCustomProfile
        name: example_zero_trust_dlp_custom_profile
        properties:
          accountId: account_id
          profiles:
            - entries:
                - enabled: true
                  name: name
                  pattern:
                    regex: regex
                    validation: luhn
              name: name
              ai_context_enabled: true
              allowed_match_count: 5
              confidence_threshold: confidence_threshold
              context_awareness:
                enabled: true
                skip:
                  files: true
              description: description
              ocr_enabled: true
              shared_entries:
                - enabled: true
                  entryId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
                  entryType: custom
    

    Create ZeroTrustDlpCustomProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZeroTrustDlpCustomProfile(name: string, args: ZeroTrustDlpCustomProfileArgs, opts?: CustomResourceOptions);
    @overload
    def ZeroTrustDlpCustomProfile(resource_name: str,
                                  args: ZeroTrustDlpCustomProfileArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZeroTrustDlpCustomProfile(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  account_id: Optional[str] = None,
                                  ai_context_enabled: Optional[bool] = None,
                                  allowed_match_count: Optional[int] = None,
                                  confidence_threshold: Optional[str] = None,
                                  context_awareness: Optional[ZeroTrustDlpCustomProfileContextAwarenessArgs] = None,
                                  description: Optional[str] = None,
                                  entries: Optional[Sequence[ZeroTrustDlpCustomProfileEntryArgs]] = None,
                                  name: Optional[str] = None,
                                  ocr_enabled: Optional[bool] = None,
                                  profiles: Optional[Sequence[ZeroTrustDlpCustomProfileProfileArgs]] = None,
                                  shared_entries: Optional[Sequence[ZeroTrustDlpCustomProfileSharedEntryArgs]] = None)
    func NewZeroTrustDlpCustomProfile(ctx *Context, name string, args ZeroTrustDlpCustomProfileArgs, opts ...ResourceOption) (*ZeroTrustDlpCustomProfile, error)
    public ZeroTrustDlpCustomProfile(string name, ZeroTrustDlpCustomProfileArgs args, CustomResourceOptions? opts = null)
    public ZeroTrustDlpCustomProfile(String name, ZeroTrustDlpCustomProfileArgs args)
    public ZeroTrustDlpCustomProfile(String name, ZeroTrustDlpCustomProfileArgs args, CustomResourceOptions options)
    
    type: cloudflare:ZeroTrustDlpCustomProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ZeroTrustDlpCustomProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ZeroTrustDlpCustomProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ZeroTrustDlpCustomProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZeroTrustDlpCustomProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZeroTrustDlpCustomProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zeroTrustDlpCustomProfileResource = new Cloudflare.ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource", new()
    {
        AccountId = "string",
        AiContextEnabled = false,
        AllowedMatchCount = 0,
        ConfidenceThreshold = "string",
        ContextAwareness = new Cloudflare.Inputs.ZeroTrustDlpCustomProfileContextAwarenessArgs
        {
            Enabled = false,
            Skip = new Cloudflare.Inputs.ZeroTrustDlpCustomProfileContextAwarenessSkipArgs
            {
                Files = false,
            },
        },
        Description = "string",
        Entries = new[]
        {
            new Cloudflare.Inputs.ZeroTrustDlpCustomProfileEntryArgs
            {
                Enabled = false,
                Name = "string",
                Pattern = new Cloudflare.Inputs.ZeroTrustDlpCustomProfileEntryPatternArgs
                {
                    Regex = "string",
                },
                Words = new[]
                {
                    "string",
                },
            },
        },
        Name = "string",
        OcrEnabled = false,
        Profiles = new[]
        {
            new Cloudflare.Inputs.ZeroTrustDlpCustomProfileProfileArgs
            {
                Entries = new[]
                {
                    new Cloudflare.Inputs.ZeroTrustDlpCustomProfileProfileEntryArgs
                    {
                        Enabled = false,
                        Name = "string",
                        Pattern = new Cloudflare.Inputs.ZeroTrustDlpCustomProfileProfileEntryPatternArgs
                        {
                            Regex = "string",
                        },
                        Words = new[]
                        {
                            "string",
                        },
                    },
                },
                Name = "string",
                AiContextEnabled = false,
                AllowedMatchCount = 0,
                ConfidenceThreshold = "string",
                ContextAwareness = new Cloudflare.Inputs.ZeroTrustDlpCustomProfileProfileContextAwarenessArgs
                {
                    Enabled = false,
                    Skip = new Cloudflare.Inputs.ZeroTrustDlpCustomProfileProfileContextAwarenessSkipArgs
                    {
                        Files = false,
                    },
                },
                Description = "string",
                OcrEnabled = false,
                SharedEntries = new[]
                {
                    new Cloudflare.Inputs.ZeroTrustDlpCustomProfileProfileSharedEntryArgs
                    {
                        Enabled = false,
                        EntryId = "string",
                        EntryType = "string",
                    },
                },
            },
        },
        SharedEntries = new[]
        {
            new Cloudflare.Inputs.ZeroTrustDlpCustomProfileSharedEntryArgs
            {
                Enabled = false,
                EntryId = "string",
                EntryType = "string",
            },
        },
    });
    
    example, err := cloudflare.NewZeroTrustDlpCustomProfile(ctx, "zeroTrustDlpCustomProfileResource", &cloudflare.ZeroTrustDlpCustomProfileArgs{
    	AccountId:           pulumi.String("string"),
    	AiContextEnabled:    pulumi.Bool(false),
    	AllowedMatchCount:   pulumi.Int(0),
    	ConfidenceThreshold: pulumi.String("string"),
    	ContextAwareness: &cloudflare.ZeroTrustDlpCustomProfileContextAwarenessArgs{
    		Enabled: pulumi.Bool(false),
    		Skip: &cloudflare.ZeroTrustDlpCustomProfileContextAwarenessSkipArgs{
    			Files: pulumi.Bool(false),
    		},
    	},
    	Description: pulumi.String("string"),
    	Entries: cloudflare.ZeroTrustDlpCustomProfileEntryArray{
    		&cloudflare.ZeroTrustDlpCustomProfileEntryArgs{
    			Enabled: pulumi.Bool(false),
    			Name:    pulumi.String("string"),
    			Pattern: &cloudflare.ZeroTrustDlpCustomProfileEntryPatternArgs{
    				Regex: pulumi.String("string"),
    			},
    			Words: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Name:       pulumi.String("string"),
    	OcrEnabled: pulumi.Bool(false),
    	Profiles: cloudflare.ZeroTrustDlpCustomProfileProfileArray{
    		&cloudflare.ZeroTrustDlpCustomProfileProfileArgs{
    			Entries: cloudflare.ZeroTrustDlpCustomProfileProfileEntryArray{
    				&cloudflare.ZeroTrustDlpCustomProfileProfileEntryArgs{
    					Enabled: pulumi.Bool(false),
    					Name:    pulumi.String("string"),
    					Pattern: &cloudflare.ZeroTrustDlpCustomProfileProfileEntryPatternArgs{
    						Regex: pulumi.String("string"),
    					},
    					Words: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Name:                pulumi.String("string"),
    			AiContextEnabled:    pulumi.Bool(false),
    			AllowedMatchCount:   pulumi.Int(0),
    			ConfidenceThreshold: pulumi.String("string"),
    			ContextAwareness: &cloudflare.ZeroTrustDlpCustomProfileProfileContextAwarenessArgs{
    				Enabled: pulumi.Bool(false),
    				Skip: &cloudflare.ZeroTrustDlpCustomProfileProfileContextAwarenessSkipArgs{
    					Files: pulumi.Bool(false),
    				},
    			},
    			Description: pulumi.String("string"),
    			OcrEnabled:  pulumi.Bool(false),
    			SharedEntries: cloudflare.ZeroTrustDlpCustomProfileProfileSharedEntryArray{
    				&cloudflare.ZeroTrustDlpCustomProfileProfileSharedEntryArgs{
    					Enabled:   pulumi.Bool(false),
    					EntryId:   pulumi.String("string"),
    					EntryType: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	SharedEntries: cloudflare.ZeroTrustDlpCustomProfileSharedEntryArray{
    		&cloudflare.ZeroTrustDlpCustomProfileSharedEntryArgs{
    			Enabled:   pulumi.Bool(false),
    			EntryId:   pulumi.String("string"),
    			EntryType: pulumi.String("string"),
    		},
    	},
    })
    
    var zeroTrustDlpCustomProfileResource = new ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource", ZeroTrustDlpCustomProfileArgs.builder()
        .accountId("string")
        .aiContextEnabled(false)
        .allowedMatchCount(0)
        .confidenceThreshold("string")
        .contextAwareness(ZeroTrustDlpCustomProfileContextAwarenessArgs.builder()
            .enabled(false)
            .skip(ZeroTrustDlpCustomProfileContextAwarenessSkipArgs.builder()
                .files(false)
                .build())
            .build())
        .description("string")
        .entries(ZeroTrustDlpCustomProfileEntryArgs.builder()
            .enabled(false)
            .name("string")
            .pattern(ZeroTrustDlpCustomProfileEntryPatternArgs.builder()
                .regex("string")
                .build())
            .words("string")
            .build())
        .name("string")
        .ocrEnabled(false)
        .profiles(ZeroTrustDlpCustomProfileProfileArgs.builder()
            .entries(ZeroTrustDlpCustomProfileProfileEntryArgs.builder()
                .enabled(false)
                .name("string")
                .pattern(ZeroTrustDlpCustomProfileProfileEntryPatternArgs.builder()
                    .regex("string")
                    .build())
                .words("string")
                .build())
            .name("string")
            .aiContextEnabled(false)
            .allowedMatchCount(0)
            .confidenceThreshold("string")
            .contextAwareness(ZeroTrustDlpCustomProfileProfileContextAwarenessArgs.builder()
                .enabled(false)
                .skip(ZeroTrustDlpCustomProfileProfileContextAwarenessSkipArgs.builder()
                    .files(false)
                    .build())
                .build())
            .description("string")
            .ocrEnabled(false)
            .sharedEntries(ZeroTrustDlpCustomProfileProfileSharedEntryArgs.builder()
                .enabled(false)
                .entryId("string")
                .entryType("string")
                .build())
            .build())
        .sharedEntries(ZeroTrustDlpCustomProfileSharedEntryArgs.builder()
            .enabled(false)
            .entryId("string")
            .entryType("string")
            .build())
        .build());
    
    zero_trust_dlp_custom_profile_resource = cloudflare.ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource",
        account_id="string",
        ai_context_enabled=False,
        allowed_match_count=0,
        confidence_threshold="string",
        context_awareness={
            "enabled": False,
            "skip": {
                "files": False,
            },
        },
        description="string",
        entries=[{
            "enabled": False,
            "name": "string",
            "pattern": {
                "regex": "string",
            },
            "words": ["string"],
        }],
        name="string",
        ocr_enabled=False,
        profiles=[{
            "entries": [{
                "enabled": False,
                "name": "string",
                "pattern": {
                    "regex": "string",
                },
                "words": ["string"],
            }],
            "name": "string",
            "ai_context_enabled": False,
            "allowed_match_count": 0,
            "confidence_threshold": "string",
            "context_awareness": {
                "enabled": False,
                "skip": {
                    "files": False,
                },
            },
            "description": "string",
            "ocr_enabled": False,
            "shared_entries": [{
                "enabled": False,
                "entry_id": "string",
                "entry_type": "string",
            }],
        }],
        shared_entries=[{
            "enabled": False,
            "entry_id": "string",
            "entry_type": "string",
        }])
    
    const zeroTrustDlpCustomProfileResource = new cloudflare.ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource", {
        accountId: "string",
        aiContextEnabled: false,
        allowedMatchCount: 0,
        confidenceThreshold: "string",
        contextAwareness: {
            enabled: false,
            skip: {
                files: false,
            },
        },
        description: "string",
        entries: [{
            enabled: false,
            name: "string",
            pattern: {
                regex: "string",
            },
            words: ["string"],
        }],
        name: "string",
        ocrEnabled: false,
        profiles: [{
            entries: [{
                enabled: false,
                name: "string",
                pattern: {
                    regex: "string",
                },
                words: ["string"],
            }],
            name: "string",
            aiContextEnabled: false,
            allowedMatchCount: 0,
            confidenceThreshold: "string",
            contextAwareness: {
                enabled: false,
                skip: {
                    files: false,
                },
            },
            description: "string",
            ocrEnabled: false,
            sharedEntries: [{
                enabled: false,
                entryId: "string",
                entryType: "string",
            }],
        }],
        sharedEntries: [{
            enabled: false,
            entryId: "string",
            entryType: "string",
        }],
    });
    
    type: cloudflare:ZeroTrustDlpCustomProfile
    properties:
        accountId: string
        aiContextEnabled: false
        allowedMatchCount: 0
        confidenceThreshold: string
        contextAwareness:
            enabled: false
            skip:
                files: false
        description: string
        entries:
            - enabled: false
              name: string
              pattern:
                regex: string
              words:
                - string
        name: string
        ocrEnabled: false
        profiles:
            - aiContextEnabled: false
              allowedMatchCount: 0
              confidenceThreshold: string
              contextAwareness:
                enabled: false
                skip:
                    files: false
              description: string
              entries:
                - enabled: false
                  name: string
                  pattern:
                    regex: string
                  words:
                    - string
              name: string
              ocrEnabled: false
              sharedEntries:
                - enabled: false
                  entryId: string
                  entryType: string
        sharedEntries:
            - enabled: false
              entryId: string
              entryType: string
    

    ZeroTrustDlpCustomProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZeroTrustDlpCustomProfile resource accepts the following input properties:

    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    ContextAwareness ZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    Description string
    The description of the profile
    Entries List<ZeroTrustDlpCustomProfileEntry>
    Name string
    OcrEnabled bool
    Profiles List<ZeroTrustDlpCustomProfileProfile>
    SharedEntries List<ZeroTrustDlpCustomProfileSharedEntry>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    ContextAwareness ZeroTrustDlpCustomProfileContextAwarenessArgs
    Scan the context of predefined entries to only return matches surrounded by keywords.
    Description string
    The description of the profile
    Entries []ZeroTrustDlpCustomProfileEntryArgs
    Name string
    OcrEnabled bool
    Profiles []ZeroTrustDlpCustomProfileProfileArgs
    SharedEntries []ZeroTrustDlpCustomProfileSharedEntryArgs
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Integer
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    contextAwareness ZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description String
    The description of the profile
    entries List<ZeroTrustDlpCustomProfileEntry>
    name String
    ocrEnabled Boolean
    profiles List<ZeroTrustDlpCustomProfileProfile>
    sharedEntries List<ZeroTrustDlpCustomProfileSharedEntry>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    accountId string
    aiContextEnabled boolean
    allowedMatchCount number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold string
    contextAwareness ZeroTrustDlpCustomProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description string
    The description of the profile
    entries ZeroTrustDlpCustomProfileEntry[]
    name string
    ocrEnabled boolean
    profiles ZeroTrustDlpCustomProfileProfile[]
    sharedEntries ZeroTrustDlpCustomProfileSharedEntry[]
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    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
    context_awareness ZeroTrustDlpCustomProfileContextAwarenessArgs
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description str
    The description of the profile
    entries Sequence[ZeroTrustDlpCustomProfileEntryArgs]
    name str
    ocr_enabled bool
    profiles Sequence[ZeroTrustDlpCustomProfileProfileArgs]
    shared_entries Sequence[ZeroTrustDlpCustomProfileSharedEntryArgs]
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    contextAwareness Property Map
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description String
    The description of the profile
    entries List<Property Map>
    name String
    ocrEnabled Boolean
    profiles List<Property Map>
    sharedEntries List<Property Map>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZeroTrustDlpCustomProfile resource produces the following output properties:

    CreatedAt string
    When the profile was created
    Id string
    The provider-assigned unique ID for this managed resource.
    OpenAccess bool
    Whether this profile can be accessed by anyone
    Type string
    Available values: "custom".
    UpdatedAt string
    When the profile was lasted updated
    CreatedAt string
    When the profile was created
    Id string
    The provider-assigned unique ID for this managed resource.
    OpenAccess bool
    Whether this profile can be accessed by anyone
    Type string
    Available values: "custom".
    UpdatedAt string
    When the profile was lasted updated
    createdAt String
    When the profile was created
    id String
    The provider-assigned unique ID for this managed resource.
    openAccess Boolean
    Whether this profile can be accessed by anyone
    type String
    Available values: "custom".
    updatedAt String
    When the profile was lasted updated
    createdAt string
    When the profile was created
    id string
    The provider-assigned unique ID for this managed resource.
    openAccess boolean
    Whether this profile can be accessed by anyone
    type string
    Available values: "custom".
    updatedAt string
    When the profile was lasted updated
    created_at str
    When the profile was created
    id str
    The provider-assigned unique ID for this managed resource.
    open_access bool
    Whether this profile can be accessed by anyone
    type str
    Available values: "custom".
    updated_at str
    When the profile was lasted updated
    createdAt String
    When the profile was created
    id String
    The provider-assigned unique ID for this managed resource.
    openAccess Boolean
    Whether this profile can be accessed by anyone
    type String
    Available values: "custom".
    updatedAt String
    When the profile was lasted updated

    Look up Existing ZeroTrustDlpCustomProfile Resource

    Get an existing ZeroTrustDlpCustomProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ZeroTrustDlpCustomProfileState, opts?: CustomResourceOptions): ZeroTrustDlpCustomProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            ai_context_enabled: Optional[bool] = None,
            allowed_match_count: Optional[int] = None,
            confidence_threshold: Optional[str] = None,
            context_awareness: Optional[ZeroTrustDlpCustomProfileContextAwarenessArgs] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            entries: Optional[Sequence[ZeroTrustDlpCustomProfileEntryArgs]] = None,
            name: Optional[str] = None,
            ocr_enabled: Optional[bool] = None,
            open_access: Optional[bool] = None,
            profiles: Optional[Sequence[ZeroTrustDlpCustomProfileProfileArgs]] = None,
            shared_entries: Optional[Sequence[ZeroTrustDlpCustomProfileSharedEntryArgs]] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None) -> ZeroTrustDlpCustomProfile
    func GetZeroTrustDlpCustomProfile(ctx *Context, name string, id IDInput, state *ZeroTrustDlpCustomProfileState, opts ...ResourceOption) (*ZeroTrustDlpCustomProfile, error)
    public static ZeroTrustDlpCustomProfile Get(string name, Input<string> id, ZeroTrustDlpCustomProfileState? state, CustomResourceOptions? opts = null)
    public static ZeroTrustDlpCustomProfile get(String name, Output<String> id, ZeroTrustDlpCustomProfileState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:ZeroTrustDlpCustomProfile    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    ContextAwareness ZeroTrustDlpCustomProfileContextAwareness
    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<ZeroTrustDlpCustomProfileEntry>
    Name string
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone
    Profiles List<ZeroTrustDlpCustomProfileProfile>
    SharedEntries List<ZeroTrustDlpCustomProfileSharedEntry>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    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
    ContextAwareness ZeroTrustDlpCustomProfileContextAwarenessArgs
    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 []ZeroTrustDlpCustomProfileEntryArgs
    Name string
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone
    Profiles []ZeroTrustDlpCustomProfileProfileArgs
    SharedEntries []ZeroTrustDlpCustomProfileSharedEntryArgs
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    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
    contextAwareness ZeroTrustDlpCustomProfileContextAwareness
    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<ZeroTrustDlpCustomProfileEntry>
    name String
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone
    profiles List<ZeroTrustDlpCustomProfileProfile>
    sharedEntries List<ZeroTrustDlpCustomProfileSharedEntry>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    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
    contextAwareness ZeroTrustDlpCustomProfileContextAwareness
    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 ZeroTrustDlpCustomProfileEntry[]
    name string
    ocrEnabled boolean
    openAccess boolean
    Whether this profile can be accessed by anyone
    profiles ZeroTrustDlpCustomProfileProfile[]
    sharedEntries ZeroTrustDlpCustomProfileSharedEntry[]
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    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
    context_awareness ZeroTrustDlpCustomProfileContextAwarenessArgs
    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[ZeroTrustDlpCustomProfileEntryArgs]
    name str
    ocr_enabled bool
    open_access bool
    Whether this profile can be accessed by anyone
    profiles Sequence[ZeroTrustDlpCustomProfileProfileArgs]
    shared_entries Sequence[ZeroTrustDlpCustomProfileSharedEntryArgs]
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    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
    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>
    name String
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone
    profiles List<Property Map>
    sharedEntries List<Property Map>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    type String
    Available values: "custom".
    updatedAt String
    When the profile was lasted updated

    Supporting Types

    ZeroTrustDlpCustomProfileContextAwareness, ZeroTrustDlpCustomProfileContextAwarenessArgs

    Enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    Skip ZeroTrustDlpCustomProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileContextAwarenessSkip
    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.

    ZeroTrustDlpCustomProfileContextAwarenessSkip, ZeroTrustDlpCustomProfileContextAwarenessSkipArgs

    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.

    ZeroTrustDlpCustomProfileEntry, ZeroTrustDlpCustomProfileEntryArgs

    enabled Boolean
    name String
    pattern Property Map
    words List<String>

    ZeroTrustDlpCustomProfileEntryPattern, ZeroTrustDlpCustomProfileEntryPatternArgs

    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.

    ZeroTrustDlpCustomProfileProfile, ZeroTrustDlpCustomProfileProfileArgs

    Entries List<ZeroTrustDlpCustomProfileProfileEntry>
    Name string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    ContextAwareness ZeroTrustDlpCustomProfileProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    Description string
    The description of the profile
    OcrEnabled bool
    SharedEntries List<ZeroTrustDlpCustomProfileProfileSharedEntry>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    Entries []ZeroTrustDlpCustomProfileProfileEntry
    Name string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    ContextAwareness ZeroTrustDlpCustomProfileProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    Description string
    The description of the profile
    OcrEnabled bool
    SharedEntries []ZeroTrustDlpCustomProfileProfileSharedEntry
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    entries List<ZeroTrustDlpCustomProfileProfileEntry>
    name String
    aiContextEnabled Boolean
    allowedMatchCount Integer
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    contextAwareness ZeroTrustDlpCustomProfileProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description String
    The description of the profile
    ocrEnabled Boolean
    sharedEntries List<ZeroTrustDlpCustomProfileProfileSharedEntry>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    entries ZeroTrustDlpCustomProfileProfileEntry[]
    name string
    aiContextEnabled boolean
    allowedMatchCount number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold string
    contextAwareness ZeroTrustDlpCustomProfileProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description string
    The description of the profile
    ocrEnabled boolean
    sharedEntries ZeroTrustDlpCustomProfileProfileSharedEntry[]
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    entries Sequence[ZeroTrustDlpCustomProfileProfileEntry]
    name 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
    context_awareness ZeroTrustDlpCustomProfileProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description str
    The description of the profile
    ocr_enabled bool
    shared_entries Sequence[ZeroTrustDlpCustomProfileProfileSharedEntry]
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
    entries List<Property Map>
    name String
    aiContextEnabled Boolean
    allowedMatchCount Number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    contextAwareness Property Map
    Scan the context of predefined entries to only return matches surrounded by keywords.
    description String
    The description of the profile
    ocrEnabled Boolean
    sharedEntries List<Property Map>
    Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).

    ZeroTrustDlpCustomProfileProfileContextAwareness, ZeroTrustDlpCustomProfileProfileContextAwarenessArgs

    Enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    Skip ZeroTrustDlpCustomProfileProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileProfileContextAwarenessSkip
    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 ZeroTrustDlpCustomProfileProfileContextAwarenessSkip
    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.

    ZeroTrustDlpCustomProfileProfileContextAwarenessSkip, ZeroTrustDlpCustomProfileProfileContextAwarenessSkipArgs

    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.

    ZeroTrustDlpCustomProfileProfileEntry, ZeroTrustDlpCustomProfileProfileEntryArgs

    enabled Boolean
    name String
    pattern Property Map
    words List<String>

    ZeroTrustDlpCustomProfileProfileEntryPattern, ZeroTrustDlpCustomProfileProfileEntryPatternArgs

    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.

    ZeroTrustDlpCustomProfileProfileSharedEntry, ZeroTrustDlpCustomProfileProfileSharedEntryArgs

    Enabled bool
    EntryId string
    EntryType string
    Available values: "custom".
    Enabled bool
    EntryId string
    EntryType string
    Available values: "custom".
    enabled Boolean
    entryId String
    entryType String
    Available values: "custom".
    enabled boolean
    entryId string
    entryType string
    Available values: "custom".
    enabled bool
    entry_id str
    entry_type str
    Available values: "custom".
    enabled Boolean
    entryId String
    entryType String
    Available values: "custom".

    ZeroTrustDlpCustomProfileSharedEntry, ZeroTrustDlpCustomProfileSharedEntryArgs

    Enabled bool
    EntryId string
    EntryType string
    Available values: "custom".
    Enabled bool
    EntryId string
    EntryType string
    Available values: "custom".
    enabled Boolean
    entryId String
    entryType String
    Available values: "custom".
    enabled boolean
    entryId string
    entryType string
    Available values: "custom".
    enabled bool
    entry_id str
    entry_type str
    Available values: "custom".
    enabled Boolean
    entryId String
    entryType String
    Available values: "custom".

    Import

    $ pulumi import cloudflare:index/zeroTrustDlpCustomProfile:ZeroTrustDlpCustomProfile example '<account_id>/<profile_id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    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