@burdenoff/microfe-security 2026.1105.1 → 2026.1105.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/security/SecurityRootBase.js +1 -1
- package/dist/security/SecurityRootBase.js.map +1 -1
- package/dist/security/constants/featureFlags.js +1 -1
- package/dist/security/constants/featureFlags.js.map +1 -1
- package/dist/security/pages/VaultLandingPage.js +1 -1
- package/dist/security/pages/VaultLandingPage.js.map +1 -1
- package/dist/security/routes/SecurityAdminRoutes.js +2 -2
- package/dist/security/routes/SecurityAdminRoutes.js.map +1 -1
- package/dist/security/routes/SecurityRoutes.js +2 -2
- package/dist/security/routes/SecurityRoutes.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { useFeatureFlag as c } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
|
9
9
|
import { jsx as l } from "react/jsx-runtime";
|
|
10
10
|
//#region src/security/SecurityRootBase.tsx
|
|
11
11
|
var u = ({ mode: o, routes: s, footerLabel: u, ...d }) => {
|
|
12
|
-
let { registerNavItems: f, registerFooterItems: p, basePath: m = "/" } = d, h = c(n.
|
|
12
|
+
let { registerNavItems: f, registerFooterItems: p, basePath: m = "/" } = d, h = c(n.VAULT_INTEGRATIONS, !1), g = e(), _ = a(() => {
|
|
13
13
|
let e = r(m, o, g);
|
|
14
14
|
if (h || !e.children) return e;
|
|
15
15
|
let t = (e) => e.filter((e) => e.id !== "security-providers");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecurityRootBase.js","names":[],"sources":["../../src/security/SecurityRootBase.tsx"],"sourcesContent":["import type { FC, ReactNode } from 'react';\nimport { useEffect, useMemo } from 'react';\nimport { ErrorBoundary } from '@burdenoff/fe-libs/shared/components';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { useFeatureFlag } from '@burdenoff/fe-libs/shared/providers/shell';\nimport { SecurityProvider } from './providers/SecurityProvider';\nimport { useTr } from './hooks/useTr';\nimport type { NavItem, SecurityRootProps, SecurityMode } from './types';\nimport { SECURITY_FEATURE_FLAGS } from './constants/featureFlags';\nimport { getNavigationConfig } from './config/navigation';\n\ninterface SecurityRootBaseProps extends SecurityRootProps {\n mode: SecurityMode;\n routes: ReactNode;\n footerLabel: string;\n}\n\n/**\n * Inner component — runs *inside* `<FeatureFlagProvider>` so `useFeatureFlag`\n * always has a parent provider to read from. Prior to the split, the hook was\n * called above the provider, which threw in dev/test entry paths that didn't\n * have a shell-level feature-flag provider mounted above the MFE.\n */\nconst SecurityRootBaseWithFeatureFlags: FC<SecurityRootBaseProps> = ({\n mode,\n routes,\n footerLabel,\n ...props\n}) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n const providersEnabled = useFeatureFlag(SECURITY_FEATURE_FLAGS.
|
|
1
|
+
{"version":3,"file":"SecurityRootBase.js","names":[],"sources":["../../src/security/SecurityRootBase.tsx"],"sourcesContent":["import type { FC, ReactNode } from 'react';\nimport { useEffect, useMemo } from 'react';\nimport { ErrorBoundary } from '@burdenoff/fe-libs/shared/components';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { useFeatureFlag } from '@burdenoff/fe-libs/shared/providers/shell';\nimport { SecurityProvider } from './providers/SecurityProvider';\nimport { useTr } from './hooks/useTr';\nimport type { NavItem, SecurityRootProps, SecurityMode } from './types';\nimport { SECURITY_FEATURE_FLAGS } from './constants/featureFlags';\nimport { getNavigationConfig } from './config/navigation';\n\ninterface SecurityRootBaseProps extends SecurityRootProps {\n mode: SecurityMode;\n routes: ReactNode;\n footerLabel: string;\n}\n\n/**\n * Inner component — runs *inside* `<FeatureFlagProvider>` so `useFeatureFlag`\n * always has a parent provider to read from. Prior to the split, the hook was\n * called above the provider, which threw in dev/test entry paths that didn't\n * have a shell-level feature-flag provider mounted above the MFE.\n */\nconst SecurityRootBaseWithFeatureFlags: FC<SecurityRootBaseProps> = ({\n mode,\n routes,\n footerLabel,\n ...props\n}) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n const providersEnabled = useFeatureFlag(SECURITY_FEATURE_FLAGS.VAULT_INTEGRATIONS, false);\n const tr = useTr();\n\n // Strip the Providers child when the flag is off — otherwise admins see a\n // clickable nav link that silently redirects to the security home.\n const filteredNavItem = useMemo(() => {\n const navItem = getNavigationConfig(basePath, mode, tr);\n if (providersEnabled || !navItem.children) return navItem;\n const filterProviders = (items: NavItem[]): NavItem[] =>\n items.filter((c) => c.id !== 'security-providers');\n return { ...navItem, children: filterProviders(navItem.children) };\n }, [basePath, mode, providersEnabled, tr]);\n\n useEffect(() => {\n if (!registerNavItems) return;\n const cleanup = registerNavItems(filteredNavItem);\n return cleanup;\n }, [registerNavItems, filteredNavItem]);\n\n useEffect(() => {\n if (!registerFooterItems) return;\n\n const footerItems = [\n {\n id: 'security-status',\n label: footerLabel,\n type: 'status' as const,\n order: 10,\n section: 'left' as const,\n },\n ];\n\n const cleanup = registerFooterItems(footerItems);\n return cleanup;\n }, [registerFooterItems, footerLabel]);\n\n return <SecurityProvider {...props}>{routes}</SecurityProvider>;\n};\n\n/**\n * Shared base for all Security root components.\n * Handles provider setup, nav/footer registration, and error boundary wrapping.\n *\n * Split into outer (ErrorBoundary + FeatureFlagProvider) and inner\n * (SecurityRootBaseWithFeatureFlags consumes useFeatureFlag) so the hook\n * always runs inside a provider — see comment on the inner component.\n */\nexport const SecurityRootBase: FC<SecurityRootBaseProps> = (props) => {\n const { workspaceId, mode } = props;\n const tr = useTr();\n return (\n <ErrorBoundary\n fallback={\n <div className=\"p-6 text-center text-text-secondary\">\n {tr(\n 'security.errorBoundary.message',\n 'Something went wrong loading this module. Please refresh the page.'\n )}\n </div>\n }\n >\n <FeatureFlagProvider\n workspaceId={workspaceId ?? null}\n gateway=\"global\"\n defaultEnabled={mode === 'user'}\n >\n <SecurityRootBaseWithFeatureFlags {...props} />\n </FeatureFlagProvider>\n </ErrorBoundary>\n );\n};\n"],"mappings":";;;;;;;;;;AAuBA,IAAM,KAA+D,EACnE,SACA,WACA,gBACA,GAAG,QACC;CACJ,IAAM,EAAE,qBAAkB,wBAAqB,cAAW,QAAQ,GAC5D,IAAmB,EAAe,EAAuB,oBAAoB,GAAM,EACnF,IAAK,GAAO,EAIZ,IAAkB,QAAc;EACpC,IAAM,IAAU,EAAoB,GAAU,GAAM,EAAG;AACvD,MAAI,KAAoB,CAAC,EAAQ,SAAU,QAAO;EAClD,IAAM,KAAmB,MACvB,EAAM,QAAQ,MAAM,EAAE,OAAO,qBAAqB;AACpD,SAAO;GAAE,GAAG;GAAS,UAAU,EAAgB,EAAQ,SAAS;GAAE;IACjE;EAAC;EAAU;EAAM;EAAkB;EAAG,CAAC;AAyB1C,QAvBA,QAAgB;AACT,QAEL,QADgB,EAAiB,EAAgB;IAEhD,CAAC,GAAkB,EAAgB,CAAC,EAEvC,QAAgB;AACT,QAaL,QADgB,EAVI,CAClB;GACE,IAAI;GACJ,OAAO;GACP,MAAM;GACN,OAAO;GACP,SAAS;GACV,CACF,CAE+C;IAE/C,CAAC,GAAqB,EAAY,CAAC,EAE/B,kBAAC,GAAD;EAAkB,GAAI;YAAQ;EAA0B,CAAA;GAWpD,KAA+C,MAAU;CACpE,IAAM,EAAE,gBAAa,YAAS;AAE9B,QACE,kBAAC,GAAD;EACE,UACE,kBAAC,OAAD;GAAK,WAAU;aAJV,GAAO,CAMR,kCACA,qEACD;GACG,CAAA;YAGR,kBAAC,GAAD;GACE,aAAa,KAAe;GAC5B,SAAQ;GACR,gBAAgB,MAAS;aAEzB,kBAAC,GAAD,EAAkC,GAAI,GAAS,CAAA;GAC3B,CAAA;EACR,CAAA"}
|
|
@@ -10,7 +10,7 @@ var e = {
|
|
|
10
10
|
MEMBER_INVITE: "security.member.invite",
|
|
11
11
|
MEMBER_REMOVE: "security.member.remove",
|
|
12
12
|
MEMBER_UPDATE_ROLE: "security.member.update_role",
|
|
13
|
-
|
|
13
|
+
VAULT_INTEGRATIONS: "security.vault-integrations"
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
16
|
export { e as SECURITY_FEATURE_FLAGS };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlags.js","names":[],"sources":["../../../src/security/constants/featureFlags.ts"],"sourcesContent":["/**\n * Per-page/sub-feature feature flag keys for the security module.\n * These are additive gates on top of RBAC permissions — a user with\n * `secret:delete` RBAC permission still needs the corresponding\n * feature flag enabled to access the operation.\n *\n * Flag keys follow the pattern: `security.{resource}.{action}`\n *\n * Reference: `~/products/dev/platform/context/commercial/feature-flags/` for integration guide.\n */\nexport const SECURITY_FEATURE_FLAGS = {\n /** Allow vault deletion (owners only in RBAC, this flag is an additional gate) */\n VAULT_DELETE: 'security.vault.delete',\n /** Allow vault lock/unlock operations */\n VAULT_LOCK: 'security.vault.lock',\n /** Allow vault settings changes */\n VAULT_UPDATE: 'security.vault.update',\n /** Allow vault export/backup */\n VAULT_EXPORT: 'security.vault.export',\n /** Allow secret rotation */\n SECRET_ROTATE: 'security.secret.rotate',\n /** Allow secret rollback to previous versions */\n SECRET_ROLLBACK: 'security.secret.rollback',\n /** Allow bulk secret operations (move/label/delete) */\n SECRET_BULK: 'security.secret.bulk',\n /** Allow member invitation */\n MEMBER_INVITE: 'security.member.invite',\n /** Allow member removal */\n MEMBER_REMOVE: 'security.member.remove',\n /** Allow role changes */\n MEMBER_UPDATE_ROLE: 'security.member.update_role',\n
|
|
1
|
+
{"version":3,"file":"featureFlags.js","names":[],"sources":["../../../src/security/constants/featureFlags.ts"],"sourcesContent":["/**\n * Per-page/sub-feature feature flag keys for the security module.\n * These are additive gates on top of RBAC permissions — a user with\n * `secret:delete` RBAC permission still needs the corresponding\n * feature flag enabled to access the operation.\n *\n * Flag keys follow the pattern: `security.{resource}.{action}`\n *\n * Reference: `~/products/dev/platform/context/commercial/feature-flags/` for integration guide.\n */\nexport const SECURITY_FEATURE_FLAGS = {\n /** Allow vault deletion (owners only in RBAC, this flag is an additional gate) */\n VAULT_DELETE: 'security.vault.delete',\n /** Allow vault lock/unlock operations */\n VAULT_LOCK: 'security.vault.lock',\n /** Allow vault settings changes */\n VAULT_UPDATE: 'security.vault.update',\n /** Allow vault export/backup */\n VAULT_EXPORT: 'security.vault.export',\n /** Allow secret rotation */\n SECRET_ROTATE: 'security.secret.rotate',\n /** Allow secret rollback to previous versions */\n SECRET_ROLLBACK: 'security.secret.rollback',\n /** Allow bulk secret operations (move/label/delete) */\n SECRET_BULK: 'security.secret.bulk',\n /** Allow member invitation */\n MEMBER_INVITE: 'security.member.invite',\n /** Allow member removal */\n MEMBER_REMOVE: 'security.member.remove',\n /** Allow role changes */\n MEMBER_UPDATE_ROLE: 'security.member.update_role',\n /**\n * External secret providers (Security, Providers). The same previewable flag\n * wspace-security-svc enforces on create, update and sync (BOFF-9741), so a\n * workspace that turns on the preview gets the page and the API together.\n */\n VAULT_INTEGRATIONS: 'security.vault-integrations',\n} as const;\n\nexport type SecurityFeatureFlag =\n (typeof SECURITY_FEATURE_FLAGS)[keyof typeof SECURITY_FEATURE_FLAGS];\n"],"mappings":";AAUA,IAAa,IAAyB;CAEpC,cAAc;CAEd,YAAY;CAEZ,cAAc;CAEd,cAAc;CAEd,eAAe;CAEf,iBAAiB;CAEjB,aAAa;CAEb,eAAe;CAEf,eAAe;CAEf,oBAAoB;CAMpB,oBAAoB;CACrB"}
|
|
@@ -9,7 +9,7 @@ import { Tabs as u } from "@burdenoff/fe-libs/chrome";
|
|
|
9
9
|
//#region src/security/pages/VaultLandingPage.tsx
|
|
10
10
|
var d = i(() => import("./ImportExportPage.js").then((e) => ({ default: e.ImportExportPage }))), f = i(() => import("./ProvidersPage.js").then((e) => ({ default: e.ProvidersPage }))), p = i(() => import("./AuditLogPage.js").then((e) => ({ default: e.AuditLogPage }))), m = i(() => import("./SecurityDashboardPage.js").then((e) => ({ default: e.SecurityDashboardPage }))), h = i(() => import("./AccessReviewPage.js").then((e) => ({ default: e.AccessReviewPage })));
|
|
11
11
|
function g() {
|
|
12
|
-
let [i, g] = s(), _ = o(t.
|
|
12
|
+
let [i, g] = s(), _ = o(t.VAULT_INTEGRATIONS, !1), v = e(), y = a(() => [
|
|
13
13
|
{
|
|
14
14
|
id: "vaults",
|
|
15
15
|
label: v("security.vaultLanding.vaults", "Vaults")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VaultLandingPage.js","names":[],"sources":["../../../src/security/pages/VaultLandingPage.tsx"],"sourcesContent":["import { lazy, Suspense, useMemo } from 'react';\nimport { useSearchParams } from 'react-router';\nimport { Tabs, type TabItem } from '@burdenoff/fe-libs/chrome';\nimport { useFeatureFlag } from '@burdenoff/fe-libs/shared/providers/shell';\n\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { useTr } from '../hooks/useTr';\nimport { VaultsDashboardPage } from './VaultsDashboardPage';\n\nconst ImportExportPage = lazy(() =>\n import('./ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('./ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst AuditLogPage = lazy(() =>\n import('./AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst SecurityDashboardPage = lazy(() =>\n import('./SecurityDashboardPage').then((m) => ({ default: m.SecurityDashboardPage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('./AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\n\n/**\n * VaultLandingPage\n *\n * Tabbed landing page for the Security (Vault) microfrontend. The first\n * tab is the vault dashboard; the remaining tabs surface import/export,\n * providers, audit, security health, and access review as peers without\n * requiring a separate nav group.\n */\nexport function VaultLandingPage() {\n const [params, setParams] = useSearchParams();\n const providersEnabled = useFeatureFlag(SECURITY_FEATURE_FLAGS.
|
|
1
|
+
{"version":3,"file":"VaultLandingPage.js","names":[],"sources":["../../../src/security/pages/VaultLandingPage.tsx"],"sourcesContent":["import { lazy, Suspense, useMemo } from 'react';\nimport { useSearchParams } from 'react-router';\nimport { Tabs, type TabItem } from '@burdenoff/fe-libs/chrome';\nimport { useFeatureFlag } from '@burdenoff/fe-libs/shared/providers/shell';\n\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { useTr } from '../hooks/useTr';\nimport { VaultsDashboardPage } from './VaultsDashboardPage';\n\nconst ImportExportPage = lazy(() =>\n import('./ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('./ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst AuditLogPage = lazy(() =>\n import('./AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst SecurityDashboardPage = lazy(() =>\n import('./SecurityDashboardPage').then((m) => ({ default: m.SecurityDashboardPage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('./AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\n\n/**\n * VaultLandingPage\n *\n * Tabbed landing page for the Security (Vault) microfrontend. The first\n * tab is the vault dashboard; the remaining tabs surface import/export,\n * providers, audit, security health, and access review as peers without\n * requiring a separate nav group.\n */\nexport function VaultLandingPage() {\n const [params, setParams] = useSearchParams();\n const providersEnabled = useFeatureFlag(SECURITY_FEATURE_FLAGS.VAULT_INTEGRATIONS, false);\n const tr = useTr();\n\n const tabs: TabItem[] = useMemo(\n () =>\n [\n { id: 'vaults', label: tr('security.vaultLanding.vaults', 'Vaults') },\n { id: 'import', label: tr('security.vaultLanding.importExport', 'Import / Export') },\n providersEnabled\n ? { id: 'providers', label: tr('security.vaultLanding.providers', 'Providers') }\n : null,\n { id: 'audit', label: tr('security.vaultLanding.auditLog', 'Audit Log') },\n { id: 'dashboard', label: tr('security.vaultLanding.securityHealth', 'Security Health') },\n { id: 'access-review', label: tr('security.vaultLanding.accessReview', 'Access Review') },\n ].filter((t): t is TabItem => t !== null),\n [providersEnabled, tr]\n );\n\n // If a tab=providers query param is in the URL but the flag is off, fall back\n // to the default tab so users hitting a stale link don't see the broken UI.\n const requestedTab = params.get('tab');\n const activeId =\n requestedTab && tabs.some((t) => t.id === requestedTab) ? requestedTab : tabs[0].id;\n\n const handleTabChange = (id: string) => {\n const next = new URLSearchParams(params);\n if (id === tabs[0].id) {\n next.delete('tab');\n } else {\n next.set('tab', id);\n }\n setParams(next, { replace: true });\n };\n\n return (\n <div className=\"flex flex-col h-full\">\n <div className=\"border-b border-border-subtle px-4 pt-3\" data-tour=\"vaults-landing-tabs\">\n <Tabs\n items={tabs}\n activeTabId={activeId}\n onTabChange={handleTabChange}\n variant=\"underline\"\n />\n </div>\n <div className=\"flex-1 min-h-0 overflow-auto\">\n {activeId === 'vaults' && <VaultsDashboardPage />}\n {activeId === 'import' && (\n <Suspense fallback={null}>\n <ImportExportPage />\n </Suspense>\n )}\n {activeId === 'providers' && (\n <Suspense fallback={null}>\n <ProvidersPage />\n </Suspense>\n )}\n {activeId === 'audit' && (\n <Suspense fallback={null}>\n <AuditLogPage />\n </Suspense>\n )}\n {activeId === 'dashboard' && (\n <Suspense fallback={null}>\n <SecurityDashboardPage />\n </Suspense>\n )}\n {activeId === 'access-review' && (\n <Suspense fallback={null}>\n <AccessReviewPage />\n </Suspense>\n )}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AASA,IAAM,IAAmB,QACvB,OAAO,yBAAsB,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAC5E,EACK,IAAgB,QACpB,OAAO,sBAAmB,MAAM,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,CACtE,EACK,IAAe,QACnB,OAAO,qBAAkB,MAAM,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CACpE,EACK,IAAwB,QAC5B,OAAO,8BAA2B,MAAM,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,CACtF,EACK,IAAmB,QACvB,OAAO,yBAAsB,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAC5E;AAUD,SAAgB,IAAmB;CACj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D,EAAiB,CAAA;KACR,CAAA;IAEZ,MAAa,WACZ,kBAAC,GAAD;KAAU,UAAU;eAClB,kBAAC,GAAD,EAAgB,CAAA;KACP,CAAA;IAEZ,MAAa,eACZ,kBAAC,GAAD;KAAU,UAAU;eAClB,kBAAC,GAAD,EAAyB,CAAA;KAChB,CAAA;IAEZ,MAAa,mBACZ,kBAAC,GAAD;KAAU,UAAU;eAClB,kBAAC,GAAD,EAAoB,CAAA;KACX,CAAA;IAET;KACF"}
|
|
@@ -26,7 +26,7 @@ function C() {
|
|
|
26
26
|
/* @__PURE__ */ u(c, {
|
|
27
27
|
path: "providers",
|
|
28
28
|
element: /* @__PURE__ */ u(o, {
|
|
29
|
-
flag: e.
|
|
29
|
+
flag: e.VAULT_INTEGRATIONS,
|
|
30
30
|
defaultValue: !1,
|
|
31
31
|
fallback: /* @__PURE__ */ u(s, {
|
|
32
32
|
to: "",
|
|
@@ -38,7 +38,7 @@ function C() {
|
|
|
38
38
|
/* @__PURE__ */ u(c, {
|
|
39
39
|
path: "providers/:vaultId/:providerId",
|
|
40
40
|
element: /* @__PURE__ */ u(o, {
|
|
41
|
-
flag: e.
|
|
41
|
+
flag: e.VAULT_INTEGRATIONS,
|
|
42
42
|
defaultValue: !1,
|
|
43
43
|
fallback: /* @__PURE__ */ u(s, {
|
|
44
44
|
to: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecurityAdminRoutes.js","names":[],"sources":["../../../src/security/routes/SecurityAdminRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { FeatureGate } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { PageLoader, LazyErrorBoundary } from './routeUtils';\n\n// Eager loaded - admin landing page\nimport { SecurityDashboardPage } from '../pages/SecurityDashboardPage';\n\n// Lazy loaded - governance pages\nconst AuditLogPage = lazy(() =>\n import('../pages/AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('../pages/AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('../pages/ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst ProviderDetailPage = lazy(() =>\n import('../pages/ProviderDetailPage').then((m) => ({ default: m.ProviderDetailPage }))\n);\nconst ImportExportPage = lazy(() =>\n import('../pages/ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\n\n// Lazy loaded - vault management (for admin inspection)\nconst VaultsDashboardPage = lazy(() =>\n import('../pages/VaultsDashboardPage').then((m) => ({ default: m.VaultsDashboardPage }))\n);\nconst VaultDetailPage = lazy(() =>\n import('../pages/VaultDetailPage').then((m) => ({ default: m.VaultDetailPage }))\n);\nconst VaultCreatePage = lazy(() =>\n import('../pages/VaultCreatePage').then((m) => ({ default: m.VaultCreatePage }))\n);\nconst VaultSettingsPage = lazy(() =>\n import('../pages/VaultSettingsPage').then((m) => ({ default: m.VaultSettingsPage }))\n);\nconst SecretCreatePage = lazy(() =>\n import('../pages/SecretCreatePage').then((m) => ({ default: m.SecretCreatePage }))\n);\nconst SecretDetailPage = lazy(() =>\n import('../pages/SecretDetailPage').then((m) => ({ default: m.SecretDetailPage }))\n);\n\n/**\n * Admin-facing routes for the Security microfrontend.\n * Contains governance/oversight pages + vault management for administrative inspection.\n * Used by admin-app.\n */\nexport function SecurityAdminRoutes() {\n return (\n <LazyErrorBoundary>\n <Suspense fallback={<PageLoader />}>\n <Routes>\n {/* Security Dashboard - admin landing (eager loaded) */}\n <Route index element={<SecurityDashboardPage />} />\n\n {/* Governance pages (lazy loaded) */}\n <Route path=\"audit\" element={<AuditLogPage />} />\n <Route path=\"access-review\" element={<AccessReviewPage />} />\n {/* Providers —
|
|
1
|
+
{"version":3,"file":"SecurityAdminRoutes.js","names":[],"sources":["../../../src/security/routes/SecurityAdminRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { FeatureGate } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { PageLoader, LazyErrorBoundary } from './routeUtils';\n\n// Eager loaded - admin landing page\nimport { SecurityDashboardPage } from '../pages/SecurityDashboardPage';\n\n// Lazy loaded - governance pages\nconst AuditLogPage = lazy(() =>\n import('../pages/AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('../pages/AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('../pages/ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst ProviderDetailPage = lazy(() =>\n import('../pages/ProviderDetailPage').then((m) => ({ default: m.ProviderDetailPage }))\n);\nconst ImportExportPage = lazy(() =>\n import('../pages/ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\n\n// Lazy loaded - vault management (for admin inspection)\nconst VaultsDashboardPage = lazy(() =>\n import('../pages/VaultsDashboardPage').then((m) => ({ default: m.VaultsDashboardPage }))\n);\nconst VaultDetailPage = lazy(() =>\n import('../pages/VaultDetailPage').then((m) => ({ default: m.VaultDetailPage }))\n);\nconst VaultCreatePage = lazy(() =>\n import('../pages/VaultCreatePage').then((m) => ({ default: m.VaultCreatePage }))\n);\nconst VaultSettingsPage = lazy(() =>\n import('../pages/VaultSettingsPage').then((m) => ({ default: m.VaultSettingsPage }))\n);\nconst SecretCreatePage = lazy(() =>\n import('../pages/SecretCreatePage').then((m) => ({ default: m.SecretCreatePage }))\n);\nconst SecretDetailPage = lazy(() =>\n import('../pages/SecretDetailPage').then((m) => ({ default: m.SecretDetailPage }))\n);\n\n/**\n * Admin-facing routes for the Security microfrontend.\n * Contains governance/oversight pages + vault management for administrative inspection.\n * Used by admin-app.\n */\nexport function SecurityAdminRoutes() {\n return (\n <LazyErrorBoundary>\n <Suspense fallback={<PageLoader />}>\n <Routes>\n {/* Security Dashboard - admin landing (eager loaded) */}\n <Route index element={<SecurityDashboardPage />} />\n\n {/* Governance pages (lazy loaded) */}\n <Route path=\"audit\" element={<AuditLogPage />} />\n <Route path=\"access-review\" element={<AccessReviewPage />} />\n {/* Providers — behind the security.vault-integrations preview (BOFF-9741) */}\n <Route\n path=\"providers\"\n element={\n <FeatureGate\n flag={SECURITY_FEATURE_FLAGS.VAULT_INTEGRATIONS}\n defaultValue={false}\n fallback={<Navigate to=\"\" replace />}\n >\n <ProvidersPage />\n </FeatureGate>\n }\n />\n <Route\n path=\"providers/:vaultId/:providerId\"\n element={\n <FeatureGate\n flag={SECURITY_FEATURE_FLAGS.VAULT_INTEGRATIONS}\n defaultValue={false}\n fallback={<Navigate to=\"\" replace />}\n >\n <ProviderDetailPage />\n </FeatureGate>\n }\n />\n <Route path=\"import\" element={<ImportExportPage />} />\n\n {/* Vault management routes (lazy loaded, for admin inspection) */}\n <Route path=\"vaults\" element={<VaultsDashboardPage />} />\n <Route path=\"vaults/new\" element={<VaultCreatePage />} />\n <Route path=\"vaults/:vaultId\" element={<VaultDetailPage />} />\n <Route path=\"vaults/:vaultId/settings\" element={<VaultSettingsPage />} />\n <Route path=\"vaults/:vaultId/secrets/new\" element={<SecretCreatePage />} />\n <Route path=\"vaults/:vaultId/secrets/:secretId\" element={<SecretDetailPage />} />\n\n {/* Catch-all route - redirect to security dashboard */}\n <Route path=\"*\" element={<Navigate to=\"\" replace />} />\n </Routes>\n </Suspense>\n </LazyErrorBoundary>\n );\n}\n"],"mappings":";;;;;;;;AAUA,IAAM,IAAe,QACnB,OAAO,4BAAyB,MAAM,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAC3E,EACK,IAAmB,QACvB,OAAO,gCAA6B,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CACnF,EACK,IAAgB,QACpB,OAAO,6BAA0B,MAAM,OAAO,EAAE,SAAS,EAAE,eAAe,EA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AiB,CAAA;KACL,CAAA;IAEhB,CAAA;GACF,kBAAC,GAAD;IACE,MAAK;IACL,SACE,kBAAC,GAAD;KACE,MAAM,EAAuB;KAC7B,cAAc;KACd,UAAU,kBAAC,GAAD;MAAU,IAAG;MAAG,SAAA;MAAU,CAAA;eAEpC,kBAAC,GAAD,EAAsB,CAAA;KACV,CAAA;IAEhB,CAAA;GACF,kBAAC,GAAD;IAAO,MAAK;IAAS,SAAS,kBAAC,GAAD,EAAoB,CAAA;IAAI,CAAA;GAGtD,kBAAC,GAAD;IAAO,MAAK;IAAS,SAAS,kBAAC,GAAD,EAAuB,CAAA;IAAI,CAAA;GACzD,kBAAC,GAAD;IAAO,MAAK;IAAa,SAAS,kBAAC,GAAD,EAAmB,CAAA;IAAI,CAAA;GACzD,kBAAC,GAAD;IAAO,MAAK;IAAkB,SAAS,kBAAC,GAAD,EAAmB,CAAA;IAAI,CAAA;GAC9D,kBAAC,GAAD;IAAO,MAAK;IAA2B,SAAS,kBAAC,GAAD,EAAqB,CAAA;IAAI,CAAA;GACzE,kBAAC,GAAD;IAAO,MAAK;IAA8B,SAAS,kBAAC,GAAD,EAAoB,CAAA;IAAI,CAAA;GAC3E,kBAAC,GAAD;IAAO,MAAK;IAAoC,SAAS,kBAAC,GAAD,EAAoB,CAAA;IAAI,CAAA;GAGjF,kBAAC,GAAD;IAAO,MAAK;IAAI,SAAS,kBAAC,GAAD;KAAU,IAAG;KAAG,SAAA;KAAU,CAAA;IAAI,CAAA;GAChD,EAAA,CAAA;EACA,CAAA,EACO,CAAA"}
|
|
@@ -46,7 +46,7 @@ function w() {
|
|
|
46
46
|
/* @__PURE__ */ u(c, {
|
|
47
47
|
path: "providers",
|
|
48
48
|
element: /* @__PURE__ */ u(o, {
|
|
49
|
-
flag: e.
|
|
49
|
+
flag: e.VAULT_INTEGRATIONS,
|
|
50
50
|
defaultValue: !1,
|
|
51
51
|
fallback: /* @__PURE__ */ u(s, {
|
|
52
52
|
to: "",
|
|
@@ -58,7 +58,7 @@ function w() {
|
|
|
58
58
|
/* @__PURE__ */ u(c, {
|
|
59
59
|
path: "providers/:vaultId/:providerId",
|
|
60
60
|
element: /* @__PURE__ */ u(o, {
|
|
61
|
-
flag: e.
|
|
61
|
+
flag: e.VAULT_INTEGRATIONS,
|
|
62
62
|
defaultValue: !1,
|
|
63
63
|
fallback: /* @__PURE__ */ u(s, {
|
|
64
64
|
to: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecurityRoutes.js","names":[],"sources":["../../../src/security/routes/SecurityRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { FeatureGate } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { PageLoader, LazyErrorBoundary } from './routeUtils';\n\n// Eager loaded - primary landing page\nimport { VaultLandingPage } from '../pages/VaultLandingPage';\n\n// Lazy loaded pages\nconst VaultDetailPage = lazy(() =>\n import('../pages/VaultDetailPage').then((m) => ({ default: m.VaultDetailPage }))\n);\nconst VaultCreatePage = lazy(() =>\n import('../pages/VaultCreatePage').then((m) => ({ default: m.VaultCreatePage }))\n);\nconst VaultSettingsPage = lazy(() =>\n import('../pages/VaultSettingsPage').then((m) => ({ default: m.VaultSettingsPage }))\n);\nconst SecretCreatePage = lazy(() =>\n import('../pages/SecretCreatePage').then((m) => ({ default: m.SecretCreatePage }))\n);\nconst SecretDetailPage = lazy(() =>\n import('../pages/SecretDetailPage').then((m) => ({ default: m.SecretDetailPage }))\n);\nconst ImportExportPage = lazy(() =>\n import('../pages/ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('../pages/ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst ProviderDetailPage = lazy(() =>\n import('../pages/ProviderDetailPage').then((m) => ({ default: m.ProviderDetailPage }))\n);\nconst AuditLogPage = lazy(() =>\n import('../pages/AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst SecurityDashboardPage = lazy(() =>\n import('../pages/SecurityDashboardPage').then((m) => ({ default: m.SecurityDashboardPage }))\n);\nconst SharedWithMePage = lazy(() =>\n import('../pages/SharedWithMePage').then((m) => ({ default: m.SharedWithMePage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('../pages/AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\n\n/**\n * Internal router for the Security microfrontend.\n * This is the full (combined) route set used by SecurityRoot for backward compatibility.\n *\n * Routes (relative to basePath, e.g., /security):\n * - / -> Vaults dashboard (default)\n * - /vaults/:vaultId -> Vault detail page\n * - /vaults/:vaultId/settings -> Vault settings\n * - /vaults/:vaultId/secrets/new -> Create secret\n * - /vaults/:vaultId/secrets/:secretId -> Secret detail\n * - /import -> Import/Export page\n * - /providers -> Providers list\n * - /providers/:vaultId/:providerId -> Provider detail\n * - /audit -> Audit log\n * - /dashboard -> Security health dashboard\n * - /access-review -> Access review\n */\nexport function SecurityRoutes() {\n return (\n <LazyErrorBoundary>\n <Suspense fallback={<PageLoader />}>\n <Routes>\n {/* Vaults landing page (tabbed) - default route (eager loaded) */}\n <Route index element={<VaultLandingPage />} />\n\n {/* Vault routes (lazy loaded) */}\n <Route path=\"vaults/new\" element={<VaultCreatePage />} />\n <Route path=\"vaults/:vaultId\" element={<VaultDetailPage />} />\n <Route path=\"vaults/:vaultId/settings\" element={<VaultSettingsPage />} />\n <Route path=\"vaults/:vaultId/secrets/new\" element={<SecretCreatePage />} />\n <Route path=\"vaults/:vaultId/secrets/:secretId\" element={<SecretDetailPage />} />\n\n {/* Credentials shared with the current user (lazy loaded) */}\n <Route path=\"shared-with-me\" element={<SharedWithMePage />} />\n\n {/* Import/Export (lazy loaded) */}\n <Route path=\"import\" element={<ImportExportPage />} />\n\n {/* Providers —
|
|
1
|
+
{"version":3,"file":"SecurityRoutes.js","names":[],"sources":["../../../src/security/routes/SecurityRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { FeatureGate } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { PageLoader, LazyErrorBoundary } from './routeUtils';\n\n// Eager loaded - primary landing page\nimport { VaultLandingPage } from '../pages/VaultLandingPage';\n\n// Lazy loaded pages\nconst VaultDetailPage = lazy(() =>\n import('../pages/VaultDetailPage').then((m) => ({ default: m.VaultDetailPage }))\n);\nconst VaultCreatePage = lazy(() =>\n import('../pages/VaultCreatePage').then((m) => ({ default: m.VaultCreatePage }))\n);\nconst VaultSettingsPage = lazy(() =>\n import('../pages/VaultSettingsPage').then((m) => ({ default: m.VaultSettingsPage }))\n);\nconst SecretCreatePage = lazy(() =>\n import('../pages/SecretCreatePage').then((m) => ({ default: m.SecretCreatePage }))\n);\nconst SecretDetailPage = lazy(() =>\n import('../pages/SecretDetailPage').then((m) => ({ default: m.SecretDetailPage }))\n);\nconst ImportExportPage = lazy(() =>\n import('../pages/ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('../pages/ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst ProviderDetailPage = lazy(() =>\n import('../pages/ProviderDetailPage').then((m) => ({ default: m.ProviderDetailPage }))\n);\nconst AuditLogPage = lazy(() =>\n import('../pages/AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst SecurityDashboardPage = lazy(() =>\n import('../pages/SecurityDashboardPage').then((m) => ({ default: m.SecurityDashboardPage }))\n);\nconst SharedWithMePage = lazy(() =>\n import('../pages/SharedWithMePage').then((m) => ({ default: m.SharedWithMePage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('../pages/AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\n\n/**\n * Internal router for the Security microfrontend.\n * This is the full (combined) route set used by SecurityRoot for backward compatibility.\n *\n * Routes (relative to basePath, e.g., /security):\n * - / -> Vaults dashboard (default)\n * - /vaults/:vaultId -> Vault detail page\n * - /vaults/:vaultId/settings -> Vault settings\n * - /vaults/:vaultId/secrets/new -> Create secret\n * - /vaults/:vaultId/secrets/:secretId -> Secret detail\n * - /import -> Import/Export page\n * - /providers -> Providers list\n * - /providers/:vaultId/:providerId -> Provider detail\n * - /audit -> Audit log\n * - /dashboard -> Security health dashboard\n * - /access-review -> Access review\n */\nexport function SecurityRoutes() {\n return (\n <LazyErrorBoundary>\n <Suspense fallback={<PageLoader />}>\n <Routes>\n {/* Vaults landing page (tabbed) - default route (eager loaded) */}\n <Route index element={<VaultLandingPage />} />\n\n {/* Vault routes (lazy loaded) */}\n <Route path=\"vaults/new\" element={<VaultCreatePage />} />\n <Route path=\"vaults/:vaultId\" element={<VaultDetailPage />} />\n <Route path=\"vaults/:vaultId/settings\" element={<VaultSettingsPage />} />\n <Route path=\"vaults/:vaultId/secrets/new\" element={<SecretCreatePage />} />\n <Route path=\"vaults/:vaultId/secrets/:secretId\" element={<SecretDetailPage />} />\n\n {/* Credentials shared with the current user (lazy loaded) */}\n <Route path=\"shared-with-me\" element={<SharedWithMePage />} />\n\n {/* Import/Export (lazy loaded) */}\n <Route path=\"import\" element={<ImportExportPage />} />\n\n {/* Providers — behind the security.vault-integrations preview (BOFF-9741) */}\n <Route\n path=\"providers\"\n element={\n <FeatureGate\n flag={SECURITY_FEATURE_FLAGS.VAULT_INTEGRATIONS}\n defaultValue={false}\n fallback={<Navigate to=\"\" replace />}\n >\n <ProvidersPage />\n </FeatureGate>\n }\n />\n <Route\n path=\"providers/:vaultId/:providerId\"\n element={\n <FeatureGate\n flag={SECURITY_FEATURE_FLAGS.VAULT_INTEGRATIONS}\n defaultValue={false}\n fallback={<Navigate to=\"\" replace />}\n >\n <ProviderDetailPage />\n </FeatureGate>\n }\n />\n\n {/* Audit Log (lazy loaded) */}\n <Route path=\"audit\" element={<AuditLogPage />} />\n\n {/* Security Dashboard (lazy loaded) */}\n <Route path=\"dashboard\" element={<SecurityDashboardPage />} />\n\n {/* Access Review (lazy loaded) */}\n <Route path=\"access-review\" element={<AccessReviewPage />} />\n\n {/* Catch-all route - redirect to vaults dashboard */}\n <Route path=\"*\" element={<Navigate to=\"\" replace />} />\n </Routes>\n </Suspense>\n </LazyErrorBoundary>\n );\n}\n"],"mappings":";;;;;;;;AAUA,IAAM,IAAkB,QACtB,OAAO,+BAA4B,MAAM,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CACjF,EACK,IAAkB,QACtB,OAAO,+BAA4B,MAAM,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CACjF,EACK,IAAoB,QACxB,OAAO,iCAA8B,MAAM,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,CACrF,EACK,IAAmB,QACvB,OAAO,gCAA6B,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CACnF,EACK,IAAmB,QACvB,OAAO,gCAA6B,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CACnF,EACK,IAAmB,QACvB,OAAO,gCAA6B,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CACnF,EACK,IAAgB,QACpB,OAAO,6BAA0B,MAAM,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,CAC7E,EACK,IAAqB,QACzB,OAAO,kCAA+B,MAAM,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,CACvF,EACK,IAAe,QACnB,OAAO,4BAAyB,MAAM,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAC3E,EACK,IAAwB,QAC5B,OAAO,qCAAkC,MAAM,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAC7F,EACK,IAAmB,QACvB,OAAO,gCAA6B,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CACnF,EACK,IAAmB,QACvB,OAAO,gCAA6B,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CACnF;AA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