Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Remove deprecated IP allowlist frontend components

Andrew Huang4c2ad324333c
diff --git a/frontend/src/hooks/api/index.tsx b/frontend/src/hooks/api/index.tsx
index cc36b4a4dd..5d92b5e2d8 100644
--- a/frontend/src/hooks/api/index.tsx
+++ b/frontend/src/hooks/api/index.tsx
@@ -71,7 +71,6 @@ export * from "./ssoConfig";
export * from "./subOrganizations";
export * from "./subscriptions";
export * from "./tags";
-export * from "./trustedIps";
export * from "./userActivation";
export * from "./users";
export * from "./webhooks";
diff --git a/frontend/src/hooks/api/trustedIps/index.ts b/frontend/src/hooks/api/trustedIps/index.ts
deleted file mode 100644
index c40c2b2a59..0000000000
--- a/frontend/src/hooks/api/trustedIps/index.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export {
- useAddTrustedIp,
- useDeleteTrustedIp,
- useGetTrustedIps,
- useUpdateTrustedIp
-} from "./queries";
diff --git a/frontend/src/hooks/api/trustedIps/queries.ts b/frontend/src/hooks/api/trustedIps/queries.ts
deleted file mode 100644
index 36815b3139..0000000000
--- a/frontend/src/hooks/api/trustedIps/queries.ts
+++ /dev/null
@@ -1,99 +0,0 @@
-import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
-
-import { apiRequest } from "@app/config/request";
-
-import { TrustedIp } from "./types";
-
-const trustedIps = {
- getTrustedIps: (projectId: string) => [{ projectId }, "trusted-ips"] as const
-};
-
-export const useGetTrustedIps = (projectId: string) => {
- return useQuery({
- queryKey: trustedIps.getTrustedIps(projectId),
- queryFn: async () => {
- const { data } = await apiRequest.get<{ trustedIps: TrustedIp[] }>(
- `/api/v1/projects/${projectId}/trusted-ips`
- );
-
- return data.trustedIps;
- }
- });
-};
-
-export const useAddTrustedIp = () => {
- const queryClient = useQueryClient();
- return useMutation({
- mutationFn: async ({
- projectId,
- ipAddress,
- comment,
- isActive
- }: {
- projectId: string;
- ipAddress: string;
- comment?: string;
- isActive: boolean;
- }) => {
- const { data } = await apiRequest.post(`/api/v1/projects/${projectId}/trusted-ips`, {
- ipAddress,
- ...(comment ? { comment } : {}),
- isActive
- });
-
- return data;
- },
- onSuccess(_, dto) {
- queryClient.invalidateQueries({ queryKey: trustedIps.getTrustedIps(dto.projectId) });
- }
- });
-};
-
-export const useUpdateTrustedIp = () => {
- const queryClient = useQueryClient();
- return useMutation({
- mutationFn: async ({
- projectId,
- trustedIpId,
- ipAddress,
- comment,
- isActive
- }: {
- projectId: string;
- trustedIpId: string;
- ipAddress: string;
- comment?: string;
- isActive: boolean;
- }) => {
- const { data } = await apiRequest.patch(
- `/api/v1/projects/${projectId}/trusted-ips/${trustedIpId}`,
- {
- ipAddress,
- ...(comment ? { comment } : {}),
- isActive
- }
- );
-
- return data;
- },
- onSuccess(_, dto) {
- queryClient.invalidateQueries({ queryKey: trustedIps.getTrustedIps(dto.projectId) });
- }
- });
-};
-
-export const useDeleteTrustedIp = () => {
- const queryClient = useQueryClient();
- return useMutation({
- mutationFn: async ({ projectId, trustedIpId }: { projectId: string; trustedIpId: string }) => {
- const { data } = await apiRequest.delete(
- `/api/v1/projects/${projectId}/trusted-ips/${trustedIpId}`
- );
-
- return data;
- },
- onSuccess(_, dto) {
- queryClient.invalidateQueries({ queryKey: trustedIps.getTrustedIps(dto.projectId) });
- }
- });
-};
diff --git a/frontend/src/hooks/api/trustedIps/types.ts b/frontend/src/hooks/api/trustedIps/types.ts
deleted file mode 100644
index 00349382fa..0000000000
--- a/frontend/src/hooks/api/trustedIps/types.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export type TrustedIp = {
- id: string;
- projectId: string;
- ipAddress: string;
- type: "ipv4" | "ipv6";
- isActive: boolean;
- comment: string;
- prefix?: number;
-};
diff --git a/frontend/src/pages/secret-manager/IPAllowlistPage/IPAllowlistPage.tsx b/frontend/src/pages/secret-manager/IPAllowlistPage/IPAllowlistPage.tsx
deleted file mode 100644
index 7492ea6a1d..0000000000
--- a/frontend/src/pages/secret-manager/IPAllowlistPage/IPAllowlistPage.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-import { Helmet } from "react-helmet";
-import { useTranslation } from "react-i18next";
-
-import { ProjectPermissionCan } from "@app/components/permissions";
-import { ProjectPermissionActions, ProjectPermissionSub } from "@app/context";
-
-import { IPAllowlistSection } from "./components";
-
-export const IPAllowListPage = () => {
- const { t } = useTranslation();
- return (
- <>
- <Helmet>
- <title>{t("common.head-title", { title: t("settings.project.title") })}</title>
- <link rel="icon" href="/infisical.ico" />
- </Helmet>
- <div className="flex h-full w-full justify-center bg-bunker-800 text-white">
- <div className="w-full max-w-8xl px-6">
- <div className="my-6">
- <p className="text-3xl font-medium text-gray-200">IP Allowlist</p>
- <div />
- </div>
- <ProjectPermissionCan
- passThrough={false}
- renderGuardBanner
- I={ProjectPermissionActions.Read}
- a={ProjectPermissionSub.IpAllowList}
- >
- <IPAllowlistSection />
- </ProjectPermissionCan>
- </div>
- </div>
- </>
- );
-};
diff --git a/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistModal.tsx b/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistModal.tsx
deleted file mode 100644
index ea6b604dc7..0000000000
--- a/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistModal.tsx
+++ /dev/null
@@ -1,161 +0,0 @@
-import { useEffect } from "react";
-import { Controller, useForm } from "react-hook-form";
-import { zodResolver } from "@hookform/resolvers/zod";
-import { z } from "zod";
-
-import { createNotification } from "@app/components/notifications";
-import { Button, FormControl, Input, Modal, ModalContent } from "@app/components/v2";
-import { useProject } from "@app/context";
-import { useAddTrustedIp, useGetMyIp, useUpdateTrustedIp } from "@app/hooks/api";
-import { UsePopUpState } from "@app/hooks/usePopUp";
-
-const schema = z
- .object({
- ipAddress: z.string(),
- comment: z.string()
- })
- .required();
-
-export type FormData = z.infer<typeof schema>;
-
-type Props = {
- popUp: UsePopUpState<["trustedIp"]>;
- handlePopUpClose: (popUpName: keyof UsePopUpState<["trustedIp"]>) => void;
- handlePopUpToggle: (popUpName: keyof UsePopUpState<["trustedIp"]>, state?: boolean) => void;
-};
-
-export const IPAllowlistModal = ({ popUp, handlePopUpClose, handlePopUpToggle }: Props) => {
- const { data, isPending } = useGetMyIp();
-
- const { currentProject } = useProject();
- const addTrustedIp = useAddTrustedIp();
- const updateTrustedIp = useUpdateTrustedIp();
-
- const {
- control,
- setValue,
- handleSubmit,
- reset,
- formState: { isSubmitting }
- } = useForm<FormData>({
- resolver: zodResolver(schema)
- });
-
- useEffect(() => {
- const trustedIpData = popUp?.trustedIp?.data as {
- ipAddress: string;
- comment: string;
- prefix: number;
- };
-
- if (popUp?.trustedIp?.data) {
- reset({
- ipAddress: `${trustedIpData.ipAddress}${
- trustedIpData.prefix !== undefined ? `/${trustedIpData.prefix}` : ""
- }`,
- comment: trustedIpData.comment
- });
- } else {
- reset({
- ipAddress: "",
- comment: ""
- });
- }
- }, [popUp?.trustedIp?.data]);
-
- const onIPAllowlistModalSubmit = async ({ ipAddress, comment }: FormData) => {
- if (!currentProject?.id) return;
-
- if (popUp?.trustedIp?.data) {
- await updateTrustedIp.mutateAsync({
- projectId: currentProject.id,
- trustedIpId: (popUp?.trustedIp?.data as { trustedIpId: string })?.trustedIpId,
- ipAddress,
- comment,
- isActive: true
- });
- } else {
- await addTrustedIp.mutateAsync({
- projectId: currentProject.id,
- ipAddress,
- comment,
- isActive: true
- });
- }
-
- createNotification({
- text: `Successfully ${popUp?.trustedIp?.data ? "updated" : "added"} trusted IP`,
- type: "success"
- });
-
- reset();
- handlePopUpClose("trustedIp");
- };
-
- return (
- <Modal
- isOpen={popUp?.trustedIp?.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("trustedIp", isOpen);
- reset();
- }}
- >
- <ModalContent title={popUp?.trustedIp?.data ? "Update IP" : "Add IP"}>
- <form onSubmit={handleSubmit(onIPAllowlistModalSubmit)}>
- <Controller
- control={control}
- defaultValue=""
- name="ipAddress"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="IPv4/IPv6 Address / CIDR Notation"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input {...field} placeholder="123.456.789.0" />
- </FormControl>
- )}
- />
- {!isPending && data && (
- <Button
- colorSchema="secondary"
- type="button"
- onClick={() => setValue("ipAddress", data)}
- className="mb-8"
- >
- Add current IP address
- </Button>
- )}
- <Controller
- control={control}
- defaultValue=""
- name="comment"
- render={({ field, fieldState: { error } }) => (
- <FormControl label="Comment" isError={Boolean(error)} errorText={error?.message}>
- <Input {...field} placeholder="My IP address" />
- </FormControl>
- )}
- />
- <div className="mt-8 flex items-center">
- <Button
- className="mr-4"
- size="sm"
- type="submit"
- isLoading={isSubmitting}
- isDisabled={isSubmitting}
- >
- {popUp?.trustedIp?.data ? "Update" : "Add"}
- </Button>
- <Button
- colorSchema="secondary"
- variant="plain"
- onClick={() => handlePopUpClose("trustedIp")}
- >
- Cancel
- </Button>
- </div>
- </form>
- </ModalContent>
- </Modal>
- );
-};
diff --git a/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistSection.tsx b/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistSection.tsx
deleted file mode 100644
index 11d6ca8d91..0000000000
--- a/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistSection.tsx
+++ /dev/null
@@ -1,104 +0,0 @@
-import { faPlus } from "@fortawesome/free-solid-svg-icons";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-
-import { UpgradePlanModal } from "@app/components/license/UpgradePlanModal";
-import { createNotification } from "@app/components/notifications";
-import { ProjectPermissionCan } from "@app/components/permissions";
-import { Button, DeleteActionModal } from "@app/components/v2";
-import {
- ProjectPermissionActions,
- ProjectPermissionSub,
- useProject,
- useSubscription
-} from "@app/context";
-import { useDeleteTrustedIp } from "@app/hooks/api";
-import { usePopUp } from "@app/hooks/usePopUp";
-
-import { IPAllowlistModal } from "./IPAllowlistModal";
-import { IPAllowlistTable } from "./IPAllowlistTable";
-
-export const IPAllowlistSection = () => {
- const { mutateAsync } = useDeleteTrustedIp();
- const { subscription } = useSubscription();
- const { currentProject } = useProject();
-
- const { popUp, handlePopUpOpen, handlePopUpClose, handlePopUpToggle } = usePopUp([
- "trustedIp",
- "deleteTrustedIp",
- "upgradePlan"
- ] as const);
-
- const onDeleteTrustedIpSubmit = async (trustedIpId: string) => {
- if (!currentProject?.id) return;
-
- await mutateAsync({
- projectId: currentProject.id,
- trustedIpId
- });
-
- createNotification({
- text: "Successfully deleted IP access range",
- type: "success"
- });
-
- handlePopUpClose("deleteTrustedIp");
- };
-
- return (
- <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
- <div className="mb-8 flex items-center">
- <h2 className="flex-1 text-xl font-medium text-white">IP Allowlist</h2>
- <ProjectPermissionCan
- I={ProjectPermissionActions.Create}
- a={ProjectPermissionSub.IpAllowList}
- >
- {(isAllowed) => (
- <Button
- onClick={() => {
- if (subscription?.ipAllowlisting) {
- handlePopUpOpen("trustedIp");
- } else {
- handlePopUpOpen("upgradePlan");
- }
- }}
- colorSchema="secondary"
- isLoading={false}
- isDisabled={!isAllowed}
- leftIcon={<FontAwesomeIcon icon={faPlus} />}
- >
- Add IP
- </Button>
- )}
- </ProjectPermissionCan>
- </div>
- <IPAllowlistTable
- popUp={popUp}
- handlePopUpOpen={handlePopUpOpen}
- handlePopUpToggle={handlePopUpToggle}
- />
- <IPAllowlistModal
- popUp={popUp}
- handlePopUpClose={handlePopUpClose}
- handlePopUpToggle={handlePopUpToggle}
- />
- <DeleteActionModal
- isOpen={popUp.deleteTrustedIp.isOpen}
- title={`Are you sure you want to delete ${
- (popUp?.deleteTrustedIp?.data as { name: string })?.name || " "
- }?`}
- onChange={(isOpen) => handlePopUpToggle("deleteTrustedIp", isOpen)}
- deleteKey="confirm"
- onDeleteApproved={() =>
- onDeleteTrustedIpSubmit(
- (popUp?.deleteTrustedIp?.data as { trustedIpId: string })?.trustedIpId
- )
- }
- />
- <UpgradePlanModal
- isOpen={popUp.upgradePlan.isOpen}
- onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
- text="Your current plan does not include access to IP allowlisting. To unlock this feature, please upgrade to Infisical Pro plan."
- />
- </div>
- );
-};
diff --git a/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistTable.tsx b/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistTable.tsx
deleted file mode 100644
index 7fc696be3f..0000000000
--- a/frontend/src/pages/secret-manager/IPAllowlistPage/components/IPAllowlistTable.tsx
+++ /dev/null
@@ -1,166 +0,0 @@
-import { faGlobe, faPencil, faXmark } from "@fortawesome/free-solid-svg-icons";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-
-import { UpgradePlanModal } from "@app/components/license/UpgradePlanModal";
-import { ProjectPermissionCan } from "@app/components/permissions";
-import {
- EmptyState,
- IconButton,
- Table,
- TableContainer,
- TableSkeleton,
- TBody,
- Td,
- Th,
- THead,
- Tr
-} from "@app/components/v2";
-import {
- ProjectPermissionActions,
- ProjectPermissionSub,
- useProject,
- useSubscription
-} from "@app/context";
-import { useGetTrustedIps } from "@app/hooks/api";
-import { UsePopUpState } from "@app/hooks/usePopUp";
-
-type Props = {
- popUp: UsePopUpState<["upgradePlan"]>;
- handlePopUpOpen: (
- popUpName: keyof UsePopUpState<["trustedIp", "deleteTrustedIp", "upgradePlan"]>,
- data?: {
- trustedIpId: string;
- ipAddress?: string;
- comment?: string;
- isActive?: boolean;
- prefix?: number;
- }
- ) => void;
- handlePopUpToggle: (popUpName: keyof UsePopUpState<["upgradePlan"]>, state?: boolean) => void;
-};
-
-export const IPAllowlistTable = ({ popUp, handlePopUpOpen, handlePopUpToggle }: Props) => {
- const { subscription } = useSubscription();
- const { currentProject } = useProject();
- const { data, isPending } = useGetTrustedIps(currentProject?.id ?? "");
-
- const formatType = (type: string, prefix?: number) => {
- return `${type.slice(0, 2).toUpperCase() + type.slice(2)} ${
- prefix !== undefined ? "CIDR" : ""
- }`;
- };
-
- return (
- <div>
- <TableContainer className="mt-4">
- <Table>
- <THead>
- <Tr>
- <Th className="flex-1">IP Address / Range</Th>
- <Th className="flex-1">Format</Th>
- <Th className="flex-1">Comment</Th>
- {/* <Th className="flex-1">Status</Th> */}
- <Th className="w-5" />
- </Tr>
- </THead>
- <TBody>
- {!isPending &&
- data &&
- data?.length > 0 &&
- data
- .sort((a, b) => a.ipAddress.localeCompare(b.ipAddress))
- .map(({ id, ipAddress, comment, type, prefix, isActive }) => {
- return (
- <Tr key={`ip-access-range-${id}`} className="h-10">
- <Td>{`${ipAddress}${prefix !== undefined ? `/${prefix}` : ""}`}</Td>
- <Td>{formatType(type, prefix)}</Td>
- <Td>{comment}</Td>
- {/* <Td>
- <div className="flex items-center">
- <FontAwesomeIcon
- icon={faCircle}
- color="#2ecc71"
- />
- <p className="ml-4">Active</p>
- </div>
- </Td> */}
- <Td className="flex items-center">
- <ProjectPermissionCan
- I={ProjectPermissionActions.Edit}
- a={ProjectPermissionSub.IpAllowList}
- >
- {(isAllowed) => (
- <IconButton
- className="mr-3 py-2"
- onClick={() => {
- if (subscription?.ipAllowlisting) {
- handlePopUpOpen("trustedIp", {
- trustedIpId: id,
- ipAddress,
- comment,
- prefix,
- isActive
- });
- } else {
- handlePopUpOpen("upgradePlan");
- }
- }}
- colorSchema="primary"
- variant="plain"
- ariaLabel="update"
- isDisabled={!isAllowed}
- >
- <FontAwesomeIcon icon={faPencil} />
- </IconButton>
- )}
- </ProjectPermissionCan>
- <ProjectPermissionCan
- I={ProjectPermissionActions.Delete}
- a={ProjectPermissionSub.IpAllowList}
- >
- {(isAllowed) => (
- <IconButton
- onClick={() => {
- if (subscription?.ipAllowlisting) {
- handlePopUpOpen("deleteTrustedIp", {
- trustedIpId: id
- });
- } else {
- handlePopUpOpen("upgradePlan");
- }
- }}
- size="lg"
- colorSchema="danger"
- variant="plain"
- ariaLabel="update"
- isDisabled={!isAllowed}
- >
- <FontAwesomeIcon icon={faXmark} />
- </IconButton>
- )}
- </ProjectPermissionCan>
- </Td>
- </Tr>
- );
- })}
- {isPending && (
- <TableSkeleton innerKey="ip-access-table" columns={4} key="ip-access-ranges" />
- )}
- {!isPending && data && data?.length === 0 && (
- <Tr>
- <Td colSpan={5}>
- <EmptyState title="No IP addresses added" icon={faGlobe} />
- </Td>
- </Tr>
- )}
- </TBody>
- </Table>
- </TableContainer>
- <UpgradePlanModal
- isOpen={popUp.upgradePlan.isOpen}
- onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
- text="Your current plan does not include access to IP allowlisting. To unlock this feature, please upgrade to Infisical Pro plan."
- />
- </div>
- );
-};
diff --git a/frontend/src/pages/secret-manager/IPAllowlistPage/components/index.tsx b/frontend/src/pages/secret-manager/IPAllowlistPage/components/index.tsx
deleted file mode 100644
index 488a07e71a..0000000000
--- a/frontend/src/pages/secret-manager/IPAllowlistPage/components/index.tsx
+++ /dev/null
@@ -1 +0,0 @@
-export { IPAllowlistSection } from "./IPAllowlistSection";
diff --git a/frontend/src/pages/secret-manager/IPAllowlistPage/route.tsx b/frontend/src/pages/secret-manager/IPAllowlistPage/route.tsx
deleted file mode 100644
index d27d9966eb..0000000000
--- a/frontend/src/pages/secret-manager/IPAllowlistPage/route.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createFileRoute } from "@tanstack/react-router";
-
-import { IPAllowListPage } from "./IPAllowlistPage";
-
-export const Route = createFileRoute(
- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/allowlist"
-)({
- component: () => IPAllowListPage
-});
diff --git a/frontend/src/routeTree.gen.ts b/frontend/src/routeTree.gen.ts
index c8d51b0eac..45fa519f09 100644
--- a/frontend/src/routeTree.gen.ts
+++ b/frontend/src/routeTree.gen.ts
@@ -132,7 +132,6 @@ import { Route as secretManagerSettingsPageRouteImport } from './pages/secret-ma
import { Route as secretManagerOverviewPageRouteImport } from './pages/secret-manager/OverviewPage/route'
import { Route as secretManagerInsightsPageRouteImport } from './pages/secret-manager/InsightsPage/route'
import { Route as secretManagerSecretApprovalsPageRouteImport } from './pages/secret-manager/SecretApprovalsPage/route'
-import { Route as secretManagerIPAllowlistPageRouteImport } from './pages/secret-manager/IPAllowlistPage/route'
import { Route as kmsSettingsPageRouteImport } from './pages/kms/SettingsPage/route'
import { Route as kmsOverviewPageRouteImport } from './pages/kms/OverviewPage/route'
import { Route as kmsKmipPageRouteImport } from './pages/kms/KmipPage/route'
@@ -1485,13 +1484,6 @@ const secretManagerSecretApprovalsPageRouteRoute =
getParentRoute: () => secretManagerLayoutRoute,
} as any)
-const secretManagerIPAllowlistPageRouteRoute =
- secretManagerIPAllowlistPageRouteImport.update({
- id: '/allowlist',
- path: '/allowlist',
- getParentRoute: () => secretManagerLayoutRoute,
- } as any)
-
const kmsSettingsPageRouteRoute = kmsSettingsPageRouteImport.update({
id: '/settings',
path: '/settings',
@@ -3423,13 +3415,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof kmsSettingsPageRouteImport
parentRoute: typeof kmsLayoutImport
}
- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/allowlist': {
- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/allowlist'
- path: '/allowlist'
- fullPath: '/organizations/$orgId/projects/secret-management/$projectId/allowlist'
- preLoaderRoute: typeof secretManagerIPAllowlistPageRouteImport
- parentRoute: typeof secretManagerLayoutImport
- }
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/approval': {
id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/approval'
path: '/approval'
@@ -5120,7 +5105,6 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretManag
)
interface secretManagerLayoutRouteChildren {
- secretManagerIPAllowlistPageRouteRoute: typeof secretManagerIPAllowlistPageRouteRoute
secretManagerSecretApprovalsPageRouteRoute: typeof secretManagerSecretApprovalsPageRouteRoute
secretManagerInsightsPageRouteRoute: typeof secretManagerInsightsPageRouteRoute
secretManagerOverviewPageRouteRoute: typeof secretManagerOverviewPageRouteRoute
@@ -5137,8 +5121,6 @@ interface secretManagerLayoutRouteChildren {
}
const secretManagerLayoutRouteChildren: secretManagerLayoutRouteChildren = {
- secretManagerIPAllowlistPageRouteRoute:
- secretManagerIPAllowlistPageRouteRoute,
secretManagerSecretApprovalsPageRouteRoute:
secretManagerSecretApprovalsPageRouteRoute,
secretManagerInsightsPageRouteRoute: secretManagerInsightsPageRouteRoute,
@@ -5858,7 +5840,6 @@ export interface FileRoutesByFullPath {
'/organizations/$orgId/projects/kms/$projectId/kmip': typeof kmsKmipPageRouteRoute
'/organizations/$orgId/projects/kms/$projectId/overview': typeof kmsOverviewPageRouteRoute
'/organizations/$orgId/projects/kms/$projectId/settings': typeof kmsSettingsPageRouteRoute
- '/organizations/$orgId/projects/secret-management/$projectId/allowlist': typeof secretManagerIPAllowlistPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/approval': typeof secretManagerSecretApprovalsPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/insights': typeof secretManagerInsightsPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/overview': typeof secretManagerOverviewPageRouteRoute
@@ -6121,7 +6102,6 @@ export interface FileRoutesByTo {
'/organizations/$orgId/projects/kms/$projectId/kmip': typeof kmsKmipPageRouteRoute
'/organizations/$orgId/projects/kms/$projectId/overview': typeof kmsOverviewPageRouteRoute
'/organizations/$orgId/projects/kms/$projectId/settings': typeof kmsSettingsPageRouteRoute
- '/organizations/$orgId/projects/secret-management/$projectId/allowlist': typeof secretManagerIPAllowlistPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/approval': typeof secretManagerSecretApprovalsPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/insights': typeof secretManagerInsightsPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/overview': typeof secretManagerOverviewPageRouteRoute
@@ -6393,7 +6373,6 @@ export interface FileRoutesById {
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/kmip': typeof kmsKmipPageRouteRoute
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/overview': typeof kmsOverviewPageRouteRoute
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/settings': typeof kmsSettingsPageRouteRoute
- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/allowlist': typeof secretManagerIPAllowlistPageRouteRoute
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/approval': typeof secretManagerSecretApprovalsPageRouteRoute
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/insights': typeof secretManagerInsightsPageRouteRoute
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/overview': typeof secretManagerOverviewPageRouteRoute
@@ -6669,7 +6648,6 @@ export interface FileRouteTypes {
| '/organizations/$orgId/projects/kms/$projectId/kmip'
| '/organizations/$orgId/projects/kms/$projectId/overview'
| '/organizations/$orgId/projects/kms/$projectId/settings'
- | '/organizations/$orgId/projects/secret-management/$projectId/allowlist'
| '/organizations/$orgId/projects/secret-management/$projectId/approval'
| '/organizations/$orgId/projects/secret-management/$projectId/insights'
| '/organizations/$orgId/projects/secret-management/$projectId/overview'
@@ -6931,7 +6909,6 @@ export interface FileRouteTypes {
| '/organizations/$orgId/projects/kms/$projectId/kmip'
| '/organizations/$orgId/projects/kms/$projectId/overview'
| '/organizations/$orgId/projects/kms/$projectId/settings'
- | '/organizations/$orgId/projects/secret-management/$projectId/allowlist'
| '/organizations/$orgId/projects/secret-management/$projectId/approval'
| '/organizations/$orgId/projects/secret-management/$projectId/insights'
| '/organizations/$orgId/projects/secret-management/$projectId/overview'
@@ -7201,7 +7178,6 @@ export interface FileRouteTypes {
| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/kmip'
| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/overview'
| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/settings'
- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/allowlist'
| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/approval'
| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/insights'
| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/overview'
@@ -8071,7 +8047,6 @@ export const routeTree = rootRoute
"filePath": "secret-manager/layout.tsx",
"parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId",
"children": [
- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/allowlist",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/approval",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/insights",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/overview",
@@ -8143,10 +8118,6 @@ export const routeTree = rootRoute
"filePath": "kms/SettingsPage/route.tsx",
"parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout"
},
- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/allowlist": {
- "filePath": "secret-manager/IPAllowlistPage/route.tsx",
- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout"
- },
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/approval": {
"filePath": "secret-manager/SecretApprovalsPage/route.tsx",
"parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout"
diff --git a/frontend/src/routes.ts b/frontend/src/routes.ts
index ec7d70f63a..9e7273ce77 100644
--- a/frontend/src/routes.ts
+++ b/frontend/src/routes.ts
@@ -22,7 +22,6 @@ const secretManagerRoutes = route("/organizations/$orgId/projects/secret-managem
layout("secret-manager-layout", "secret-manager/layout.tsx", [
route("/overview", "secret-manager/OverviewPage/route.tsx"),
route("/secrets/$envSlug", "secret-manager/SecretDashboardPage/route.tsx"),
- route("/allowlist", "secret-manager/IPAllowlistPage/route.tsx"),
route("/approval", "secret-manager/SecretApprovalsPage/route.tsx"),
route("/insights", "secret-manager/InsightsPage/route.tsx"),
route("/settings", "secret-manager/SettingsPage/route.tsx"),