Skip to main content

Variable: ModelScanIssueSchema

const ModelScanIssueSchema: ZodObject<{
description: ZodString;
source: ZodString;
threat: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
description: ZodString;
source: ZodString;
threat: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
description: ZodString;
source: ZodString;
threat: ZodOptional<ZodNullable<ZodString>>;
module: ZodOptional<ZodNullable<ZodString>>;
operator: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>;

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

Zod schema for a single issue detected during model scanning.