Variable: LabelConditionSchema
const LabelConditionSchema: ZodObject<{
type: ZodLiteral<"label">;
key: ZodString;
operator: ZodEnum<["equals", "not_equals", "exists", "not_exists"]>;
value: ZodOptional<ZodNullable<ZodString>>;
}, "strict", ZodTypeAny, {
type: "label";
key: string;
operator: "equals" | "not_equals" | "exists" | "not_exists";
value?: string | null;
}, {
type: "label";
key: string;
operator: "equals" | "not_equals" | "exists" | "not_exists";
value?: string | null;
}>;
Defined in: src/models/model-security-custom-rules.ts:5
A condition comparing a scan label.