Skip to main content

Variable: CustomRuleUpdateRequestSchema

const CustomRuleUpdateRequestSchema: ZodObject<{
name: ZodOptional<ZodNullable<ZodString>>;
description: ZodOptional<ZodNullable<ZodString>>;
condition: ZodOptional<ZodNullable<ZodType<CustomRuleCondition, ZodTypeDef, CustomRuleCondition>>>;
violation_message: ZodOptional<ZodNullable<ZodString>>;
remediation_message: ZodOptional<ZodNullable<ZodString>>;
rule_action: ZodOptional<ZodNullable<ZodEnum<["FAIL", "PASS"]>>>;
}, "strict", ZodTypeAny, {
name?: string | null;
description?: string | null;
condition?: CustomRuleCondition | null;
violation_message?: string | null;
remediation_message?: string | null;
rule_action?: "FAIL" | "PASS" | null;
}, {
name?: string | null;
description?: string | null;
condition?: CustomRuleCondition | null;
violation_message?: string | null;
remediation_message?: string | null;
rule_action?: "FAIL" | "PASS" | null;
}>;

Defined in: src/models/model-security-custom-rules.ts:68

Nullable partial update of a custom rule.