zia logo
Zscaler Internet Access v0.0.3, Jan 30 23

zia.DLP.getDLPDictionaries

Use the zia_dlp_dictionaries data source to get information about a DLP dictionary option available in the Zscaler Internet Access.

import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";

const example = zia.DLP.getDLPDictionaries({
    name: "SALESFORCE_REPORT_LEAKAGE",
});
import pulumi
import pulumi_zia as zia

example = zia.DLP.get_dlp_dictionaries(name="SALESFORCE_REPORT_LEAKAGE")
using System.Collections.Generic;
using Pulumi;
using Zia = Pulumi.Zia;

return await Deployment.RunAsync(() => 
{
    var example = Zia.DLP.GetDLPDictionaries.Invoke(new()
    {
        Name = "SALESFORCE_REPORT_LEAKAGE",
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zia/sdk/go/zia/DLP"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DLP.GetDLPDictionaries(ctx, &dlp.GetDLPDictionariesArgs{
			Name: pulumi.StringRef("SALESFORCE_REPORT_LEAKAGE"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.DLP.DLPFunctions;
import com.pulumi.zia.DLP.inputs.GetDLPDictionariesArgs;
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 example = DLPFunctions.getDLPDictionaries(GetDLPDictionariesArgs.builder()
            .name("SALESFORCE_REPORT_LEAKAGE")
            .build());

    }
}
variables:
  example:
    fn::invoke:
      Function: zia:DLP:getDLPDictionaries
      Arguments:
        name: SALESFORCE_REPORT_LEAKAGE

Using getDLPDictionaries

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 getDLPDictionaries(args: GetDLPDictionariesArgs, opts?: InvokeOptions): Promise<GetDLPDictionariesResult>
function getDLPDictionariesOutput(args: GetDLPDictionariesOutputArgs, opts?: InvokeOptions): Output<GetDLPDictionariesResult>
def get_dlp_dictionaries(id: Optional[int] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetDLPDictionariesResult
def get_dlp_dictionaries_output(id: Optional[pulumi.Input[int]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetDLPDictionariesResult]
func GetDLPDictionaries(ctx *Context, args *GetDLPDictionariesArgs, opts ...InvokeOption) (*GetDLPDictionariesResult, error)
func GetDLPDictionariesOutput(ctx *Context, args *GetDLPDictionariesOutputArgs, opts ...InvokeOption) GetDLPDictionariesResultOutput

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

public static class GetDLPDictionaries 
{
    public static Task<GetDLPDictionariesResult> InvokeAsync(GetDLPDictionariesArgs args, InvokeOptions? opts = null)
    public static Output<GetDLPDictionariesResult> Invoke(GetDLPDictionariesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDLPDictionariesResult> getDLPDictionaries(GetDLPDictionariesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: zia:DLP/getDLPDictionaries:getDLPDictionaries
  arguments:
    # arguments dictionary

The following arguments are supported:

Id int

Unique identifier for the DLP dictionary

Name string

DLP dictionary name

Id int

Unique identifier for the DLP dictionary

Name string

DLP dictionary name

id Integer

Unique identifier for the DLP dictionary

name String

DLP dictionary name

id number

Unique identifier for the DLP dictionary

name string

DLP dictionary name

id int

Unique identifier for the DLP dictionary

name str

DLP dictionary name

id Number

Unique identifier for the DLP dictionary

name String

DLP dictionary name

getDLPDictionaries Result

The following output properties are available:

ConfidenceThreshold string

(String) he DLP confidence threshold. [CONFIDENCE_LEVEL_LOW, CONFIDENCE_LEVEL_MEDIUM CONFIDENCE_LEVEL_HIGH ]

CustomPhraseMatchType string

(String) The DLP custom phrase match type. [ MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY, MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY ]

Description string
DictionaryType string

(String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the PATTERNS_AND_PHRASES type.

ExactDataMatchDetails List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPDictionariesExactDataMatchDetail>
Id int
IdmProfileMatchAccuracies List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPDictionariesIdmProfileMatchAccuracy>
Name string
NameL10nTag bool

(Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.

Patterns List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPDictionariesPattern>
Phrases List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPDictionariesPhrase>
Proximity int
ThresholdType string
ConfidenceThreshold string

(String) he DLP confidence threshold. [CONFIDENCE_LEVEL_LOW, CONFIDENCE_LEVEL_MEDIUM CONFIDENCE_LEVEL_HIGH ]

CustomPhraseMatchType string

(String) The DLP custom phrase match type. [ MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY, MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY ]

Description string
DictionaryType string

(String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the PATTERNS_AND_PHRASES type.

ExactDataMatchDetails []GetDLPDictionariesExactDataMatchDetail
Id int
IdmProfileMatchAccuracies []GetDLPDictionariesIdmProfileMatchAccuracy
Name string
NameL10nTag bool

(Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.

Patterns []GetDLPDictionariesPattern
Phrases []GetDLPDictionariesPhrase
Proximity int
ThresholdType string
confidenceThreshold String

(String) he DLP confidence threshold. [CONFIDENCE_LEVEL_LOW, CONFIDENCE_LEVEL_MEDIUM CONFIDENCE_LEVEL_HIGH ]

customPhraseMatchType String

(String) The DLP custom phrase match type. [ MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY, MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY ]

description String
dictionaryType String

(String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the PATTERNS_AND_PHRASES type.

exactDataMatchDetails List<GetDictionariesExactDataMatchDetail>
id Integer
idmProfileMatchAccuracies List<GetDictionariesIdmProfileMatchAccuracy>
name String
nameL10nTag Boolean

(Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.

patterns List<GetDictionariesPattern>
phrases List<GetDictionariesPhrase>
proximity Integer
thresholdType String
confidenceThreshold string

(String) he DLP confidence threshold. [CONFIDENCE_LEVEL_LOW, CONFIDENCE_LEVEL_MEDIUM CONFIDENCE_LEVEL_HIGH ]

customPhraseMatchType string

(String) The DLP custom phrase match type. [ MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY, MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY ]

description string
dictionaryType string

(String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the PATTERNS_AND_PHRASES type.

exactDataMatchDetails GetDLPDictionariesExactDataMatchDetail[]
id number
idmProfileMatchAccuracies GetDLPDictionariesIdmProfileMatchAccuracy[]
name string
nameL10nTag boolean

(Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.

patterns GetDLPDictionariesPattern[]
phrases GetDLPDictionariesPhrase[]
proximity number
thresholdType string
confidence_threshold str

(String) he DLP confidence threshold. [CONFIDENCE_LEVEL_LOW, CONFIDENCE_LEVEL_MEDIUM CONFIDENCE_LEVEL_HIGH ]

custom_phrase_match_type str

(String) The DLP custom phrase match type. [ MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY, MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY ]

description str
dictionary_type str

(String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the PATTERNS_AND_PHRASES type.

exact_data_match_details GetDLPDictionariesExactDataMatchDetail]
id int
idm_profile_match_accuracies GetDLPDictionariesIdmProfileMatchAccuracy]
name str
name_l10n_tag bool

(Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.

patterns GetDLPDictionariesPattern]
phrases GetDLPDictionariesPhrase]
proximity int
threshold_type str
confidenceThreshold String

(String) he DLP confidence threshold. [CONFIDENCE_LEVEL_LOW, CONFIDENCE_LEVEL_MEDIUM CONFIDENCE_LEVEL_HIGH ]

customPhraseMatchType String

(String) The DLP custom phrase match type. [ MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY, MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY ]

description String
dictionaryType String

(String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the PATTERNS_AND_PHRASES type.

exactDataMatchDetails List<Property Map>
id Number
idmProfileMatchAccuracies List<Property Map>
name String
nameL10nTag Boolean

(Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.

patterns List<Property Map>
phrases List<Property Map>
proximity Number
thresholdType String

Supporting Types

GetDLPDictionariesExactDataMatchDetail

GetDLPDictionariesIdmProfileMatchAccuracy

GetDLPDictionariesIdmProfileMatchAccuracyAdpIdmProfile

Extensions Dictionary<string, string>
Id int

Unique identifier for the DLP dictionary

Extensions map[string]string
Id int

Unique identifier for the DLP dictionary

extensions Map<String,String>
id Integer

Unique identifier for the DLP dictionary

extensions {[key: string]: string}
id number

Unique identifier for the DLP dictionary

extensions Mapping[str, str]
id int

Unique identifier for the DLP dictionary

extensions Map<String>
id Number

Unique identifier for the DLP dictionary

GetDLPDictionariesPattern

Action string

(String) The action applied to a DLP dictionary using patterns

Pattern string

(String) DLP dictionary pattern

Action string

(String) The action applied to a DLP dictionary using patterns

Pattern string

(String) DLP dictionary pattern

action String

(String) The action applied to a DLP dictionary using patterns

pattern String

(String) DLP dictionary pattern

action string

(String) The action applied to a DLP dictionary using patterns

pattern string

(String) DLP dictionary pattern

action str

(String) The action applied to a DLP dictionary using patterns

pattern str

(String) DLP dictionary pattern

action String

(String) The action applied to a DLP dictionary using patterns

pattern String

(String) DLP dictionary pattern

GetDLPDictionariesPhrase

Action string

(String) The action applied to a DLP dictionary using patterns

Phrase string
Action string

(String) The action applied to a DLP dictionary using patterns

Phrase string
action String

(String) The action applied to a DLP dictionary using patterns

phrase String
action string

(String) The action applied to a DLP dictionary using patterns

phrase string
action str

(String) The action applied to a DLP dictionary using patterns

phrase str
action String

(String) The action applied to a DLP dictionary using patterns

phrase String

Package Details

Repository
zia zscaler/pulumi-zia
License
MIT
Notes

This Pulumi package is based on the zia Terraform Provider.