Variable: ViolationListSchema
const ViolationListSchema: ZodObject<{
pagination: ZodObject<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">>;
violations: ZodArray<ZodObject<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ZodArray<ZodString, "many">;
url: ZodOptional<ZodNullable<...>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
steps: ZodArray<..., ...>;
url: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
steps: ZodArray<..., ...>;
url: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ZodArray<..., ...>;
url: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ZodArray<..., ...>;
url: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, "passthrough", ZodTypeAny, objectOutputType<{
pagination: ZodObject<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">>;
violations: ZodArray<ZodObject<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ZodArray<..., ...>;
url: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ...;
url: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ...;
url: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">, objectInputType<{
pagination: ZodObject<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
total_items: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">>;
violations: ZodArray<ZodObject<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ZodArray<..., ...>;
url: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
steps: ...;
url: ...;
}, ZodTypeAny, "passthrough">>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ...;
url: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
insights_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
rule_origin: ZodOptional<ZodString>;
threat_kb_url: ZodOptional<ZodUnion<[ZodString, ZodNull]>>;
uuid: ZodString;
tsg_id: ZodString;
created_at: ZodString;
updated_at: ZodString;
description: ZodString;
rule_instance_uuid: ZodString;
rule_name: ZodString;
rule_description: ZodString;
rule_instance_state: ZodString;
remediation: ZodOptional<ZodNullable<ZodObject<{
steps: ...;
url: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
file: ZodOptional<ZodNullable<ZodString>>;
hash: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
threat: ZodOptional<ZodNullable<ZodString>>;
threat_description: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">>;
Defined in: src/models/model-security.ts:417
Zod schema for a paginated list of violations.