Skip to content

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

chore: lint auto-format and route tree regen

bernie-gb0e5199c8ed1
diff --git a/frontend/src/pages/pam/InsightsPage/components/PamSessionActivityChart.tsx b/frontend/src/pages/pam/InsightsPage/components/PamSessionActivityChart.tsx
index 14800ffb7c..3a2cf6673b 100644
--- a/frontend/src/pages/pam/InsightsPage/components/PamSessionActivityChart.tsx
+++ b/frontend/src/pages/pam/InsightsPage/components/PamSessionActivityChart.tsx
@@ -74,7 +74,7 @@ export const PamSessionActivityChart = () => {
);
}
return (
- <div className="flex flex-col gap-4 [&_*:focus]:outline-none [&_*]:focus:outline-none">
+ <div className="flex flex-col gap-4 [&_*]:focus:outline-none [&_*:focus]:outline-none">
<ResponsiveContainer width="100%" height={280}>
<BarChart data={chartData} margin={{ top: 8, right: 8, bottom: 0, left: -16 }}>
<CartesianGrid strokeDasharray="4 4" stroke="var(--color-border)" vertical={false} />
diff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsx
index 129fe5ff58..26c1bc7ff0 100644
--- a/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsx
+++ b/frontend/src/pages/project/RoleDetailsBySlugPage/components/ProjectRoleModifySection.utils.tsx
@@ -3330,8 +3330,7 @@ export const PROJECT_PERMISSION_OBJECT: TProjectPermissionObject = {
{
label: "Read",
value: ProjectPermissionPamInsightsActions.Read,
- description:
- "View the PAM insights dashboard"
+ description: "View the PAM insights dashboard"
}
]
},
diff --git a/frontend/src/routeTree.gen.ts b/frontend/src/routeTree.gen.ts
index 4668156fc8..9acecdf506 100644
--- a/frontend/src/routeTree.gen.ts
+++ b/frontend/src/routeTree.gen.ts
@@ -112,6 +112,7 @@ import { Route as secretManagerInsightsPageRouteImport } from './pages/secret-ma
import { Route as secretManagerSecretApprovalsPageRouteImport } from './pages/secret-manager/SecretApprovalsPage/route'
import { Route as secretManagerIPAllowlistPageRouteImport } from './pages/secret-manager/IPAllowlistPage/route'
import { Route as pamSettingsPageRouteImport } from './pages/pam/SettingsPage/route'
+import { Route as pamInsightsPageRouteImport } from './pages/pam/InsightsPage/route'
import { Route as pamPamAccountPoliciesPageRouteImport } from './pages/pam/PamAccountPoliciesPage/route'
import { Route as kmsSettingsPageRouteImport } from './pages/kms/SettingsPage/route'
import { Route as kmsOverviewPageRouteImport } from './pages/kms/OverviewPage/route'
@@ -1357,6 +1358,12 @@ const pamSettingsPageRouteRoute = pamSettingsPageRouteImport.update({
getParentRoute: () => pamLayoutRoute,
} as any)
+const pamInsightsPageRouteRoute = pamInsightsPageRouteImport.update({
+ id: '/insights',
+ path: '/insights',
+ getParentRoute: () => pamLayoutRoute,
+} as any)
+
const pamPamAccountPoliciesPageRouteRoute =
pamPamAccountPoliciesPageRouteImport.update({
id: '/account-policies',
@@ -3289,6 +3296,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof pamPamAccountPoliciesPageRouteImport
parentRoute: typeof pamLayoutImport
}
+ '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/insights': {
+ id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/insights'
+ path: '/insights'
+ fullPath: '/organizations/$orgId/projects/pam/$projectId/insights'
+ preLoaderRoute: typeof pamInsightsPageRouteImport
+ parentRoute: typeof pamLayoutImport
+ }
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/settings': {
id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/settings'
path: '/settings'
@@ -5116,6 +5130,7 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsPamProjectI
interface pamLayoutRouteChildren {
pamPamAccountPoliciesPageRouteRoute: typeof pamPamAccountPoliciesPageRouteRoute
+ pamInsightsPageRouteRoute: typeof pamInsightsPageRouteRoute
pamSettingsPageRouteRoute: typeof pamSettingsPageRouteRoute
projectAccessControlPageRoutePamRoute: typeof projectAccessControlPageRoutePamRoute
AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsPamProjectIdPamLayoutApprovalsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsPamProjectIdPamLayoutApprovalsRouteWithChildren
@@ -5132,6 +5147,7 @@ interface pamLayoutRouteChildren {
const pamLayoutRouteChildren: pamLayoutRouteChildren = {
pamPamAccountPoliciesPageRouteRoute: pamPamAccountPoliciesPageRouteRoute,
+ pamInsightsPageRouteRoute: pamInsightsPageRouteRoute,
pamSettingsPageRouteRoute: pamSettingsPageRouteRoute,
projectAccessControlPageRoutePamRoute: projectAccessControlPageRoutePamRoute,
AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsPamProjectIdPamLayoutApprovalsRoute:
@@ -6070,6 +6086,7 @@ export interface FileRoutesByFullPath {
'/organizations/$orgId/projects/kms/$projectId/overview': typeof kmsOverviewPageRouteRoute
'/organizations/$orgId/projects/kms/$projectId/settings': typeof kmsSettingsPageRouteRoute
'/organizations/$orgId/projects/pam/$projectId/account-policies': typeof pamPamAccountPoliciesPageRouteRoute
+ '/organizations/$orgId/projects/pam/$projectId/insights': typeof pamInsightsPageRouteRoute
'/organizations/$orgId/projects/pam/$projectId/settings': typeof pamSettingsPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/allowlist': typeof secretManagerIPAllowlistPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/approval': typeof secretManagerSecretApprovalsPageRouteRoute
@@ -6344,6 +6361,7 @@ export interface FileRoutesByTo {
'/organizations/$orgId/projects/kms/$projectId/overview': typeof kmsOverviewPageRouteRoute
'/organizations/$orgId/projects/kms/$projectId/settings': typeof kmsSettingsPageRouteRoute
'/organizations/$orgId/projects/pam/$projectId/account-policies': typeof pamPamAccountPoliciesPageRouteRoute
+ '/organizations/$orgId/projects/pam/$projectId/insights': typeof pamInsightsPageRouteRoute
'/organizations/$orgId/projects/pam/$projectId/settings': typeof pamSettingsPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/allowlist': typeof secretManagerIPAllowlistPageRouteRoute
'/organizations/$orgId/projects/secret-management/$projectId/approval': typeof secretManagerSecretApprovalsPageRouteRoute
@@ -6618,6 +6636,7 @@ export interface FileRoutesById {
'/_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/pam/$projectId/_pam-layout/account-policies': typeof pamPamAccountPoliciesPageRouteRoute
+ '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/insights': typeof pamInsightsPageRouteRoute
'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/settings': typeof pamSettingsPageRouteRoute
'/_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
@@ -6901,6 +6920,7 @@ export interface FileRouteTypes {
| '/organizations/$orgId/projects/kms/$projectId/overview'
| '/organizations/$orgId/projects/kms/$projectId/settings'
| '/organizations/$orgId/projects/pam/$projectId/account-policies'
+ | '/organizations/$orgId/projects/pam/$projectId/insights'
| '/organizations/$orgId/projects/pam/$projectId/settings'
| '/organizations/$orgId/projects/secret-management/$projectId/allowlist'
| '/organizations/$orgId/projects/secret-management/$projectId/approval'
@@ -7174,6 +7194,7 @@ export interface FileRouteTypes {
| '/organizations/$orgId/projects/kms/$projectId/overview'
| '/organizations/$orgId/projects/kms/$projectId/settings'
| '/organizations/$orgId/projects/pam/$projectId/account-policies'
+ | '/organizations/$orgId/projects/pam/$projectId/insights'
| '/organizations/$orgId/projects/pam/$projectId/settings'
| '/organizations/$orgId/projects/secret-management/$projectId/allowlist'
| '/organizations/$orgId/projects/secret-management/$projectId/approval'
@@ -7446,6 +7467,7 @@ export interface FileRouteTypes {
| '/_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/pam/$projectId/_pam-layout/account-policies'
+ | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/insights'
| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-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'
@@ -8185,6 +8207,7 @@ export const routeTree = rootRoute
"parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId",
"children": [
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/account-policies",
+ "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/insights",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/settings",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/access-management",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/approvals",
@@ -8298,6 +8321,10 @@ export const routeTree = rootRoute
"filePath": "pam/PamAccountPoliciesPage/route.tsx",
"parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout"
},
+ "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/insights": {
+ "filePath": "pam/InsightsPage/route.tsx",
+ "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout"
+ },
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout/settings": {
"filePath": "pam/SettingsPage/route.tsx",
"parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/pam/$projectId/_pam-layout"