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:
getDLPDictionaries Result
The following output properties are available:
- Confidence
Threshold string (String) he DLP confidence threshold. [
CONFIDENCE_LEVEL_LOW
,CONFIDENCE_LEVEL_MEDIUM
CONFIDENCE_LEVEL_HIGH
]- Custom
Phrase stringMatch Type (String) The DLP custom phrase match type. [
MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY
,MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY
]- Description string
- Dictionary
Type string (String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the
PATTERNS_AND_PHRASES
type.- Exact
Data List<zscaler.Match Details Pulumi Package. Zia. DLP. Outputs. Get DLPDictionaries Exact Data Match Detail> - Id int
- Idm
Profile List<zscaler.Match Accuracies Pulumi Package. Zia. DLP. Outputs. Get DLPDictionaries Idm Profile Match Accuracy> - Name string
- Name
L10n boolTag (Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.
- Patterns
List<zscaler.
Pulumi Package. Zia. DLP. Outputs. Get DLPDictionaries Pattern> - Phrases
List<zscaler.
Pulumi Package. Zia. DLP. Outputs. Get DLPDictionaries Phrase> - Proximity int
- Threshold
Type string
- Confidence
Threshold string (String) he DLP confidence threshold. [
CONFIDENCE_LEVEL_LOW
,CONFIDENCE_LEVEL_MEDIUM
CONFIDENCE_LEVEL_HIGH
]- Custom
Phrase stringMatch Type (String) The DLP custom phrase match type. [
MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY
,MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY
]- Description string
- Dictionary
Type string (String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the
PATTERNS_AND_PHRASES
type.- Exact
Data []GetMatch Details DLPDictionaries Exact Data Match Detail - Id int
- Idm
Profile []GetMatch Accuracies DLPDictionaries Idm Profile Match Accuracy - Name string
- Name
L10n boolTag (Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.
- Patterns
[]Get
DLPDictionaries Pattern - Phrases
[]Get
DLPDictionaries Phrase - Proximity int
- Threshold
Type string
- confidence
Threshold String (String) he DLP confidence threshold. [
CONFIDENCE_LEVEL_LOW
,CONFIDENCE_LEVEL_MEDIUM
CONFIDENCE_LEVEL_HIGH
]- custom
Phrase StringMatch Type (String) The DLP custom phrase match type. [
MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY
,MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY
]- description String
- dictionary
Type String (String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the
PATTERNS_AND_PHRASES
type.- exact
Data List<GetMatch Details Dictionaries Exact Data Match Detail> - id Integer
- idm
Profile List<GetMatch Accuracies Dictionaries Idm Profile Match Accuracy> - name String
- name
L10n BooleanTag (Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.
- patterns
List<Get
Dictionaries Pattern> - phrases
List<Get
Dictionaries Phrase> - proximity Integer
- threshold
Type String
- confidence
Threshold string (String) he DLP confidence threshold. [
CONFIDENCE_LEVEL_LOW
,CONFIDENCE_LEVEL_MEDIUM
CONFIDENCE_LEVEL_HIGH
]- custom
Phrase stringMatch Type (String) The DLP custom phrase match type. [
MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY
,MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY
]- description string
- dictionary
Type string (String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the
PATTERNS_AND_PHRASES
type.- exact
Data GetMatch Details DLPDictionaries Exact Data Match Detail[] - id number
- idm
Profile GetMatch Accuracies DLPDictionaries Idm Profile Match Accuracy[] - name string
- name
L10n booleanTag (Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.
- patterns
Get
DLPDictionaries Pattern[] - phrases
Get
DLPDictionaries Phrase[] - proximity number
- threshold
Type string
- confidence_
threshold str (String) he DLP confidence threshold. [
CONFIDENCE_LEVEL_LOW
,CONFIDENCE_LEVEL_MEDIUM
CONFIDENCE_LEVEL_HIGH
]- custom_
phrase_ strmatch_ type (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_ Getmatch_ details DLPDictionaries Exact Data Match Detail] - id int
- idm_
profile_ Getmatch_ accuracies DLPDictionaries Idm Profile Match Accuracy] - name str
- name_
l10n_ booltag (Boolean) Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries.
- patterns
Get
DLPDictionaries Pattern] - phrases
Get
DLPDictionaries Phrase] - proximity int
- threshold_
type str
- confidence
Threshold String (String) he DLP confidence threshold. [
CONFIDENCE_LEVEL_LOW
,CONFIDENCE_LEVEL_MEDIUM
CONFIDENCE_LEVEL_HIGH
]- custom
Phrase StringMatch Type (String) The DLP custom phrase match type. [
MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY
,MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY
]- description String
- dictionary
Type String (String) The DLP dictionary type. The cloud service API only supports custom DLP dictionaries that are using the
PATTERNS_AND_PHRASES
type.- exact
Data List<Property Map>Match Details - id Number
- idm
Profile List<Property Map>Match Accuracies - name String
- name
L10n BooleanTag (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
- threshold
Type String
Supporting Types
GetDLPDictionariesExactDataMatchDetail
- Dictionary
Edm intMapping Id - Primary
Field int - Schema
Id int - Secondary
Field stringMatch On - Secondary
Fields List<int>
- Dictionary
Edm intMapping Id - Primary
Field int - Schema
Id int - Secondary
Field stringMatch On - Secondary
Fields []int
- dictionary
Edm IntegerMapping Id - primary
Field Integer - schema
Id Integer - secondary
Field StringMatch On - secondary
Fields List<Integer>
- dictionary
Edm numberMapping Id - primary
Field number - schema
Id number - secondary
Field stringMatch On - secondary
Fields number[]
- dictionary_
edm_ intmapping_ id - primary_
field int - schema_
id int - secondary_
field_ strmatch_ on - secondary_
fields Sequence[int]
- dictionary
Edm NumberMapping Id - primary
Field Number - schema
Id Number - secondary
Field StringMatch On - secondary
Fields List<Number>
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
GetDLPDictionariesPhrase
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
This Pulumi package is based on the
zia
Terraform Provider.