import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The zia_dlp_dictionaries resource manages DLP (Data Loss Prevention) dictionaries in the Zscaler Internet Access (ZIA) cloud service. DLP dictionaries are used to define custom or predefined patterns and phrases that identify sensitive data for DLP policy enforcement. * * For more information, see the [ZIA Data Loss Prevention documentation](https://help.zscaler.com/zia/data-loss-prevention). * * ## Example Usage * ### Basic DLP Dictionary * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * const example = new zia.DlpDictionary("example", { * name: "Example DLP Dictionary", * description: "Custom DLP dictionary for detecting sensitive patterns", * dictionaryType: "PATTERNS_AND_PHRASES", * customPhraseMatchType: "MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY", * phrases: [{ * action: "PHRASE_COUNT_TYPE_ALL", * phrase: "confidential", * }], * patterns: [{ * action: "PATTERN_COUNT_TYPE_ALL", * pattern: "\\b\\d{3}-\\d{2}-\\d{4}\\b", * }], * }); * ``` * * ## Import * * An existing DLP Dictionary can be imported using its resource ID, e.g. * * ```sh * $ pulumi import zia:index:DlpDictionary example 12345 * ``` */ export declare class DlpDictionary extends pulumi.CustomResource { /** * Get an existing DlpDictionary resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DlpDictionary; /** * Returns true if the given object is an instance of DlpDictionary. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DlpDictionary; /** * The DLP confidence threshold. Valid values: `CONFIDENCE_LEVEL_LOW`, `CONFIDENCE_LEVEL_MEDIUM`, `CONFIDENCE_LEVEL_HIGH`. */ readonly confidenceThreshold: pulumi.Output; /** * If true, this is a custom DLP dictionary; false indicates a predefined dictionary. */ readonly custom: pulumi.Output; /** * The match type for custom phrases. Valid values: `MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY`, `MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY`. */ readonly customPhraseMatchType: pulumi.Output; /** * A description of the DLP dictionary. */ readonly description: pulumi.Output; /** * The system-generated ID of the DLP dictionary. */ readonly dictionaryId: pulumi.Output; /** * The type of DLP dictionary. Valid values: `PATTERNS_AND_PHRASES`, `EXACT_DATA_MATCH`, `INDEXED_DATA_MATCH`. */ readonly dictionaryType: pulumi.Output; /** * List of hierarchical identifiers for the DLP dictionary. */ readonly hierarchicalIdentifiers: pulumi.Output; /** * The name of the DLP dictionary. Must be unique. */ readonly name: pulumi.Output; /** * List of DLP dictionary patterns with their match actions. */ readonly patterns: pulumi.Output; /** * List of DLP dictionary phrases with their match actions. */ readonly phrases: pulumi.Output; /** * The proximity length for dictionary matching. Specifies the distance between phrases/patterns for a match. */ readonly proximity: pulumi.Output; /** * If true, proximity matching is enabled for this custom DLP dictionary. */ readonly proximityEnabledForCustomDictionary: pulumi.Output; /** * Create a DlpDictionary resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: DlpDictionaryArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DlpDictionary resource. */ export interface DlpDictionaryArgs { /** * The DLP confidence threshold. Valid values: `CONFIDENCE_LEVEL_LOW`, `CONFIDENCE_LEVEL_MEDIUM`, `CONFIDENCE_LEVEL_HIGH`. */ confidenceThreshold?: pulumi.Input; /** * If true, this is a custom DLP dictionary; false indicates a predefined dictionary. */ custom?: pulumi.Input; /** * The match type for custom phrases. Valid values: `MATCH_ALL_CUSTOM_PHRASE_PATTERN_DICTIONARY`, `MATCH_ANY_CUSTOM_PHRASE_PATTERN_DICTIONARY`. */ customPhraseMatchType?: pulumi.Input; /** * A description of the DLP dictionary. */ description?: pulumi.Input; /** * The type of DLP dictionary. Valid values: `PATTERNS_AND_PHRASES`, `EXACT_DATA_MATCH`, `INDEXED_DATA_MATCH`. */ dictionaryType?: pulumi.Input; /** * List of hierarchical identifiers for the DLP dictionary. */ hierarchicalIdentifiers?: pulumi.Input[] | undefined>; /** * The name of the DLP dictionary. Must be unique. */ name?: pulumi.Input; /** * List of DLP dictionary patterns with their match actions. */ patterns?: pulumi.Input[] | undefined>; /** * List of DLP dictionary phrases with their match actions. */ phrases?: pulumi.Input[] | undefined>; /** * The proximity length for dictionary matching. Specifies the distance between phrases/patterns for a match. */ proximity?: pulumi.Input; /** * If true, proximity matching is enabled for this custom DLP dictionary. */ proximityEnabledForCustomDictionary?: pulumi.Input; } //# sourceMappingURL=dlpDictionary.d.ts.map