Skip to main content

Variable: ModelSecurityRuleResponseSchema

const ModelSecurityRuleResponseSchema: ZodObject<{
uuid: ZodString;
name: ZodString;
description: ZodString;
rule_type: ZodString;
compatible_sources: ZodArray<ZodString, "many">;
default_state: ZodString;
remediation: ZodObject<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, ZodTypeAny, "passthrough">>;
editable_fields: ZodArray<ZodObject<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ZodString;
label: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
value: ...;
label: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
value: ...;
label: ...;
}, ZodTypeAny, "passthrough">>, "many">>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ...;
label: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ...;
label: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>>;
}, ZodTypeAny, "passthrough">>, "many">;
constant_values: ZodRecord<ZodString, ZodUnknown>;
default_values: ZodRecord<ZodString, ZodUnknown>;
}, "passthrough", ZodTypeAny, objectOutputType<{
uuid: ZodString;
name: ZodString;
description: ZodString;
rule_type: ZodString;
compatible_sources: ZodArray<ZodString, "many">;
default_state: ZodString;
remediation: ZodObject<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, ZodTypeAny, "passthrough">>;
editable_fields: ZodArray<ZodObject<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ...;
label: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>>;
}, ZodTypeAny, "passthrough">>, "many">;
constant_values: ZodRecord<ZodString, ZodUnknown>;
default_values: ZodRecord<ZodString, ZodUnknown>;
}, ZodTypeAny, "passthrough">, objectInputType<{
uuid: ZodString;
name: ZodString;
description: ZodString;
rule_type: ZodString;
compatible_sources: ZodArray<ZodString, "many">;
default_state: ZodString;
remediation: ZodObject<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
description: ZodString;
steps: ZodArray<ZodString, "many">;
url: ZodString;
}, ZodTypeAny, "passthrough">>;
editable_fields: ZodArray<ZodObject<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ...;
label: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>>;
}, ZodTypeAny, "passthrough">>, "many">;
constant_values: ZodRecord<ZodString, ZodUnknown>;
default_values: ZodRecord<ZodString, ZodUnknown>;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/model-security.ts:390

Zod schema for a model security rule definition.