diff --git a/src/components/resource-policy/CreatePolicyRulesSectionForm.tsx b/src/components/resource-policy/CreatePolicyRulesSectionForm.tsx index b3285b284..4550d5bfb 100644 --- a/src/components/resource-policy/CreatePolicyRulesSectionForm.tsx +++ b/src/components/resource-policy/CreatePolicyRulesSectionForm.tsx @@ -147,7 +147,7 @@ export function CreatePolicyRulesSectionForm({ resolver: zodResolver(addRuleSchema), defaultValues: { action: "ACCEPT" as const, - match: "IP", + match: "PATH", value: "" } }); diff --git a/src/components/resource-policy/EditPolicyRulesSectionForm.tsx b/src/components/resource-policy/EditPolicyRulesSectionForm.tsx index 48e0ef605..f00a7c6a5 100644 --- a/src/components/resource-policy/EditPolicyRulesSectionForm.tsx +++ b/src/components/resource-policy/EditPolicyRulesSectionForm.tsx @@ -151,7 +151,7 @@ export function EditPolicyRulesSectionForm({ resolver: zodResolver(addRuleSchema), defaultValues: { action: "ACCEPT" as const, - match: "IP", + match: "PATH", value: "" } }); diff --git a/src/components/resource-policy/ResourcePolicySubForms.tsx b/src/components/resource-policy/ResourcePolicySubForms.tsx index 37a83b3fe..1b46c79f4 100644 --- a/src/components/resource-policy/ResourcePolicySubForms.tsx +++ b/src/components/resource-policy/ResourcePolicySubForms.tsx @@ -972,7 +972,7 @@ export function PolicyRulesSection({ resolver: zodResolver(addRuleSchema), defaultValues: { action: "ACCEPT" as const, - match: "IP", + match: "PATH", value: "" } });