Interface: ExpressionTreeNode
Defined in: src/models/dlp-data-profile.ts:111
Recursive expression-tree node. A node has either child sub_expressions (nested boolean
structure) or a leaf rule_item (the actual detection criterion), and an operator_type
joining children.
Indexable
[key: string]: unknown
Properties
operator_type?
optional operator_type?: "and" | "or" | "not" | "and_not" | "or_not" | null;
Defined in: src/models/dlp-data-profile.ts:112
rule_item?
optional rule_item?:
| objectOutputType<{
detection_technique: ZodEnum<["edm", "document_fingerprint", "trainable_classifier", "ml_document", "regex", "weighted_regex", "ml", "titus_tag", "wildfire", "file_property", "dictionary", "pab", "document_classifier"]>;
id: ZodOptional<ZodNullable<ZodString>>;
name: ZodOptional<ZodNullable<ZodString>>;
description: ZodOptional<ZodNullable<ZodString>>;
version: ZodOptional<ZodNullable<ZodNumber>>;
match_type: ZodOptional<ZodNullable<ZodEnum<["include", "exclude"]>>>;
by_unique_count: ZodOptional<ZodNullable<ZodBoolean>>;
confidence_level: ZodOptional<ZodNullable<ZodEnum<["low", "medium", "high"]>>>;
supported_confidence_levels: ZodOptional<ZodNullable<ZodArray<ZodEnum<["low", "medium", "high"]>, "many">>>;
occurrence_count: ZodOptional<ZodNullable<ZodNumber>>;
occurrence_high: ZodOptional<ZodNullable<ZodNumber>>;
occurrence_low: ZodOptional<ZodNullable<ZodNumber>>;
occurrence_operator_type: ZodOptional<ZodNullable<ZodEnum<["any", "less_than_equal_to", "more_than_equal_to", "between"]>>>;
score: ZodOptional<ZodNullable<ZodNumber>>;
score_high: ZodOptional<ZodNullable<ZodNumber>>;
score_low: ZodOptional<ZodNullable<ZodNumber>>;
edm_dataset_id: ZodOptional<ZodNullable<ZodString>>;
primary_fields: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
primary_match_criteria: ZodOptional<ZodNullable<ZodEnum<["any", "all"]>>>;
primary_match_any_count: ZodOptional<ZodNullable<ZodNumber>>;
secondary_fields: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
secondary_match_criteria: ZodOptional<ZodNullable<ZodEnum<["any", "all"]>>>;
secondary_match_any_count: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">
| null;
Defined in: src/models/dlp-data-profile.ts:113
sub_expressions?
optional sub_expressions?: ExpressionTreeNode[] | null;
Defined in: src/models/dlp-data-profile.ts:114