Skip to main content

Variable: AdvancedDataProfileRequestSchema

const AdvancedDataProfileRequestSchema: ZodObject<{
name: ZodString;
detection_rules: ZodArray<ZodDiscriminatedUnion<"rule_type", [ZodObject<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<ZodType<ExpressionTreeNode, ZodTypeDef, ExpressionTreeNode>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<ZodType<..., ..., ...>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<ZodType<..., ..., ...>>>;
}, ZodTypeAny, "passthrough">>, ZodObject<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<ZodObject<{
data_profile_ids: ...;
operator_type: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<ZodObject<..., ..., ..., ..., ...>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<ZodObject<..., ..., ..., ..., ...>>>;
}, ZodTypeAny, "passthrough">>]>, "many">;
description: ZodOptional<ZodString>;
is_granular_data_profile: ZodOptional<ZodBoolean>;
}, "passthrough", ZodTypeAny, objectOutputType<{
name: ZodString;
detection_rules: ZodArray<ZodDiscriminatedUnion<"rule_type", [ZodObject<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<ZodType<..., ..., ...>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">>, ZodObject<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<ZodObject<..., ..., ..., ..., ...>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">>]>, "many">;
description: ZodOptional<ZodString>;
is_granular_data_profile: ZodOptional<ZodBoolean>;
}, ZodTypeAny, "passthrough">, objectInputType<{
name: ZodString;
detection_rules: ZodArray<ZodDiscriminatedUnion<"rule_type", [ZodObject<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<ZodType<..., ..., ...>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
rule_type: ZodLiteral<"expression_tree">;
expression_tree: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">>, ZodObject<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<ZodObject<..., ..., ..., ..., ...>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
rule_type: ZodLiteral<"multi_profile">;
multi_profile: ZodOptional<ZodNullable<...>>;
}, ZodTypeAny, "passthrough">>]>, "many">;
description: ZodOptional<ZodString>;
is_granular_data_profile: ZodOptional<ZodBoolean>;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/dlp-data-profile.ts:171

Request payload for POST (create) and PUT (full-replace).