@burdenoff/microfe-security 2026.510.115
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/README.md +223 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +21069 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +1461 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +695 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +55148 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/generated/wspace-types.js +8 -0
- package/dist/generated/wspace-types.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1674 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/security/SecurityAdminRoot.d.ts +19 -0
- package/dist/security/SecurityAdminRoot.d.ts.map +1 -0
- package/dist/security/SecurityAdminRoot.js +14 -0
- package/dist/security/SecurityAdminRoot.js.map +1 -0
- package/dist/security/SecurityRoot.d.ts +18 -0
- package/dist/security/SecurityRoot.d.ts.map +1 -0
- package/dist/security/SecurityRoot.js +14 -0
- package/dist/security/SecurityRoot.js.map +1 -0
- package/dist/security/SecurityRootBase.d.ts +19 -0
- package/dist/security/SecurityRootBase.d.ts.map +1 -0
- package/dist/security/SecurityRootBase.js +56 -0
- package/dist/security/SecurityRootBase.js.map +1 -0
- package/dist/security/SecurityUserRoot.d.ts +18 -0
- package/dist/security/SecurityUserRoot.d.ts.map +1 -0
- package/dist/security/SecurityUserRoot.js +14 -0
- package/dist/security/SecurityUserRoot.js.map +1 -0
- package/dist/security/components/ActivityTimeline.d.ts +12 -0
- package/dist/security/components/ActivityTimeline.d.ts.map +1 -0
- package/dist/security/components/ActivityTimeline.js +109 -0
- package/dist/security/components/ActivityTimeline.js.map +1 -0
- package/dist/security/components/AuditLogTable.d.ts +12 -0
- package/dist/security/components/AuditLogTable.d.ts.map +1 -0
- package/dist/security/components/BulkActionBar.d.ts +9 -0
- package/dist/security/components/BulkActionBar.d.ts.map +1 -0
- package/dist/security/components/BulkActionBar.js +94 -0
- package/dist/security/components/BulkActionBar.js.map +1 -0
- package/dist/security/components/ConfirmDialog.d.ts +19 -0
- package/dist/security/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/security/components/ConfirmDialog.js +45 -0
- package/dist/security/components/ConfirmDialog.js.map +1 -0
- package/dist/security/components/CopyButton.d.ts +20 -0
- package/dist/security/components/CopyButton.d.ts.map +1 -0
- package/dist/security/components/CopyButton.js +48 -0
- package/dist/security/components/CopyButton.js.map +1 -0
- package/dist/security/components/ExportDialog.d.ts +7 -0
- package/dist/security/components/ExportDialog.d.ts.map +1 -0
- package/dist/security/components/ExportDialog.js +146 -0
- package/dist/security/components/ExportDialog.js.map +1 -0
- package/dist/security/components/ImportWizard.d.ts +7 -0
- package/dist/security/components/ImportWizard.d.ts.map +1 -0
- package/dist/security/components/ImportWizard.js +276 -0
- package/dist/security/components/ImportWizard.js.map +1 -0
- package/dist/security/components/PageLayout.d.ts +23 -0
- package/dist/security/components/PageLayout.d.ts.map +1 -0
- package/dist/security/components/PageLayout.js +26 -0
- package/dist/security/components/PageLayout.js.map +1 -0
- package/dist/security/components/PasswordGenerator.d.ts +17 -0
- package/dist/security/components/PasswordGenerator.d.ts.map +1 -0
- package/dist/security/components/PasswordGenerator.js +128 -0
- package/dist/security/components/PasswordGenerator.js.map +1 -0
- package/dist/security/components/ProviderSetupWizard.d.ts +13 -0
- package/dist/security/components/ProviderSetupWizard.d.ts.map +1 -0
- package/dist/security/components/RotationStatusBadge.d.ts +13 -0
- package/dist/security/components/RotationStatusBadge.d.ts.map +1 -0
- package/dist/security/components/RotationStatusBadge.js +32 -0
- package/dist/security/components/RotationStatusBadge.js.map +1 -0
- package/dist/security/components/SecretFormFields.d.ts +23 -0
- package/dist/security/components/SecretFormFields.d.ts.map +1 -0
- package/dist/security/components/SecretFormFields.js +156 -0
- package/dist/security/components/SecretFormFields.js.map +1 -0
- package/dist/security/components/SecretRow.d.ts +13 -0
- package/dist/security/components/SecretRow.d.ts.map +1 -0
- package/dist/security/components/SecretRow.js +88 -0
- package/dist/security/components/SecretRow.js.map +1 -0
- package/dist/security/components/SecretTypeBadge.d.ts +13 -0
- package/dist/security/components/SecretTypeBadge.d.ts.map +1 -0
- package/dist/security/components/SecretTypeBadge.js +19 -0
- package/dist/security/components/SecretTypeBadge.js.map +1 -0
- package/dist/security/components/SecretTypeIcon.d.ts +14 -0
- package/dist/security/components/SecretTypeIcon.d.ts.map +1 -0
- package/dist/security/components/SecretTypeIcon.js +28 -0
- package/dist/security/components/SecretTypeIcon.js.map +1 -0
- package/dist/security/components/SecretValueDisplay.d.ts +26 -0
- package/dist/security/components/SecretValueDisplay.d.ts.map +1 -0
- package/dist/security/components/SecretValueDisplay.js +66 -0
- package/dist/security/components/SecretValueDisplay.js.map +1 -0
- package/dist/security/components/SecurityPermissionGuard.d.ts +16 -0
- package/dist/security/components/SecurityPermissionGuard.d.ts.map +1 -0
- package/dist/security/components/SecurityPermissionGuard.js +21 -0
- package/dist/security/components/SecurityPermissionGuard.js.map +1 -0
- package/dist/security/components/SecurityScoreCard.d.ts +12 -0
- package/dist/security/components/SecurityScoreCard.d.ts.map +1 -0
- package/dist/security/components/SecurityScoreCard.js +82 -0
- package/dist/security/components/SecurityScoreCard.js.map +1 -0
- package/dist/security/components/VaultCard.d.ts +13 -0
- package/dist/security/components/VaultCard.d.ts.map +1 -0
- package/dist/security/components/VaultCard.js +94 -0
- package/dist/security/components/VaultCard.js.map +1 -0
- package/dist/security/components/VaultFormFields.d.ts +17 -0
- package/dist/security/components/VaultFormFields.d.ts.map +1 -0
- package/dist/security/components/VaultFormFields.js +110 -0
- package/dist/security/components/VaultFormFields.js.map +1 -0
- package/dist/security/components/VaultShareDialog.d.ts +16 -0
- package/dist/security/components/VaultShareDialog.d.ts.map +1 -0
- package/dist/security/components/VaultShareDialog.js +84 -0
- package/dist/security/components/VaultShareDialog.js.map +1 -0
- package/dist/security/components/ui.d.ts +55 -0
- package/dist/security/components/ui.d.ts.map +1 -0
- package/dist/security/components/ui.js +87 -0
- package/dist/security/components/ui.js.map +1 -0
- package/dist/security/config/navigation.d.ts +10 -0
- package/dist/security/config/navigation.d.ts.map +1 -0
- package/dist/security/config/navigation.js +97 -0
- package/dist/security/config/navigation.js.map +1 -0
- package/dist/security/constants/featureFlags.d.ts +36 -0
- package/dist/security/constants/featureFlags.d.ts.map +1 -0
- package/dist/security/constants/featureFlags.js +18 -0
- package/dist/security/constants/featureFlags.js.map +1 -0
- package/dist/security/constants/permissions.d.ts +11 -0
- package/dist/security/constants/permissions.d.ts.map +1 -0
- package/dist/security/constants/permissions.js +72 -0
- package/dist/security/constants/permissions.js.map +1 -0
- package/dist/security/constants/providers.d.ts +12 -0
- package/dist/security/constants/providers.d.ts.map +1 -0
- package/dist/security/constants/providers.js +45 -0
- package/dist/security/constants/providers.js.map +1 -0
- package/dist/security/constants/secretTypes.d.ts +16 -0
- package/dist/security/constants/secretTypes.d.ts.map +1 -0
- package/dist/security/constants/secretTypes.js +66 -0
- package/dist/security/constants/secretTypes.js.map +1 -0
- package/dist/security/hooks/useAuditLog.d.ts +4 -0
- package/dist/security/hooks/useAuditLog.d.ts.map +1 -0
- package/dist/security/hooks/useAuditLog.js +20 -0
- package/dist/security/hooks/useAuditLog.js.map +1 -0
- package/dist/security/hooks/useBulkSecretOperations.d.ts +7 -0
- package/dist/security/hooks/useBulkSecretOperations.d.ts.map +1 -0
- package/dist/security/hooks/useBulkSecretOperations.js +22 -0
- package/dist/security/hooks/useBulkSecretOperations.js.map +1 -0
- package/dist/security/hooks/useClipboardAutoClear.d.ts +10 -0
- package/dist/security/hooks/useClipboardAutoClear.d.ts.map +1 -0
- package/dist/security/hooks/useImportExport.d.ts +55 -0
- package/dist/security/hooks/useImportExport.d.ts.map +1 -0
- package/dist/security/hooks/useImportExport.js +201 -0
- package/dist/security/hooks/useImportExport.js.map +1 -0
- package/dist/security/hooks/usePasswordGenerator.d.ts +18 -0
- package/dist/security/hooks/usePasswordGenerator.d.ts.map +1 -0
- package/dist/security/hooks/useProviderQueries.d.ts +8 -0
- package/dist/security/hooks/useProviderQueries.d.ts.map +1 -0
- package/dist/security/hooks/useProviderQueries.js +30 -0
- package/dist/security/hooks/useProviderQueries.js.map +1 -0
- package/dist/security/hooks/useSecretQueries.d.ts +10 -0
- package/dist/security/hooks/useSecretQueries.d.ts.map +1 -0
- package/dist/security/hooks/useSecretQueries.js +36 -0
- package/dist/security/hooks/useSecretQueries.js.map +1 -0
- package/dist/security/hooks/useSecretValue.d.ts +12 -0
- package/dist/security/hooks/useSecretValue.d.ts.map +1 -0
- package/dist/security/hooks/useSecretValue.js +29 -0
- package/dist/security/hooks/useSecretValue.js.map +1 -0
- package/dist/security/hooks/useSecurityCacheInvalidation.d.ts +2 -0
- package/dist/security/hooks/useSecurityCacheInvalidation.d.ts.map +1 -0
- package/dist/security/hooks/useSecurityCacheInvalidation.js +52 -0
- package/dist/security/hooks/useSecurityCacheInvalidation.js.map +1 -0
- package/dist/security/hooks/useSecurityDashboard.d.ts +21 -0
- package/dist/security/hooks/useSecurityDashboard.d.ts.map +1 -0
- package/dist/security/hooks/useSecurityDashboard.js +34 -0
- package/dist/security/hooks/useSecurityDashboard.js.map +1 -0
- package/dist/security/hooks/useSecurityEventEmitter.d.ts +14 -0
- package/dist/security/hooks/useSecurityEventEmitter.d.ts.map +1 -0
- package/dist/security/hooks/useSecurityEventEmitter.js +14 -0
- package/dist/security/hooks/useSecurityEventEmitter.js.map +1 -0
- package/dist/security/hooks/useSecuritySubscriptions.d.ts +21 -0
- package/dist/security/hooks/useSecuritySubscriptions.d.ts.map +1 -0
- package/dist/security/hooks/useSecuritySubscriptions.js +44 -0
- package/dist/security/hooks/useSecuritySubscriptions.js.map +1 -0
- package/dist/security/hooks/useVaultQueries.d.ts +14 -0
- package/dist/security/hooks/useVaultQueries.d.ts.map +1 -0
- package/dist/security/hooks/useVaultQueries.js +57 -0
- package/dist/security/hooks/useVaultQueries.js.map +1 -0
- package/dist/security/index.d.ts +31 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +5 -0
- package/dist/security/pages/AccessReviewPage.d.ts +2 -0
- package/dist/security/pages/AccessReviewPage.d.ts.map +1 -0
- package/dist/security/pages/AccessReviewPage.js +154 -0
- package/dist/security/pages/AccessReviewPage.js.map +1 -0
- package/dist/security/pages/AuditLogPage.d.ts +2 -0
- package/dist/security/pages/AuditLogPage.d.ts.map +1 -0
- package/dist/security/pages/AuditLogPage.js +186 -0
- package/dist/security/pages/AuditLogPage.js.map +1 -0
- package/dist/security/pages/ImportExportPage.d.ts +2 -0
- package/dist/security/pages/ImportExportPage.d.ts.map +1 -0
- package/dist/security/pages/ImportExportPage.js +47 -0
- package/dist/security/pages/ImportExportPage.js.map +1 -0
- package/dist/security/pages/ProviderDetailPage.d.ts +2 -0
- package/dist/security/pages/ProviderDetailPage.d.ts.map +1 -0
- package/dist/security/pages/ProviderDetailPage.js +314 -0
- package/dist/security/pages/ProviderDetailPage.js.map +1 -0
- package/dist/security/pages/ProvidersPage.d.ts +2 -0
- package/dist/security/pages/ProvidersPage.d.ts.map +1 -0
- package/dist/security/pages/ProvidersPage.js +162 -0
- package/dist/security/pages/ProvidersPage.js.map +1 -0
- package/dist/security/pages/SecretCreatePage.d.ts +2 -0
- package/dist/security/pages/SecretCreatePage.d.ts.map +1 -0
- package/dist/security/pages/SecretCreatePage.js +144 -0
- package/dist/security/pages/SecretCreatePage.js.map +1 -0
- package/dist/security/pages/SecretDetailPage.d.ts +2 -0
- package/dist/security/pages/SecretDetailPage.d.ts.map +1 -0
- package/dist/security/pages/SecretDetailPage.js +479 -0
- package/dist/security/pages/SecretDetailPage.js.map +1 -0
- package/dist/security/pages/SecurityDashboardPage.d.ts +2 -0
- package/dist/security/pages/SecurityDashboardPage.d.ts.map +1 -0
- package/dist/security/pages/SecurityDashboardPage.js +145 -0
- package/dist/security/pages/SecurityDashboardPage.js.map +1 -0
- package/dist/security/pages/VaultCreatePage.d.ts +2 -0
- package/dist/security/pages/VaultCreatePage.d.ts.map +1 -0
- package/dist/security/pages/VaultCreatePage.js +87 -0
- package/dist/security/pages/VaultCreatePage.js.map +1 -0
- package/dist/security/pages/VaultDetailPage.d.ts +2 -0
- package/dist/security/pages/VaultDetailPage.d.ts.map +1 -0
- package/dist/security/pages/VaultDetailPage.js +292 -0
- package/dist/security/pages/VaultDetailPage.js.map +1 -0
- package/dist/security/pages/VaultLandingPage.d.ts +10 -0
- package/dist/security/pages/VaultLandingPage.d.ts.map +1 -0
- package/dist/security/pages/VaultLandingPage.js +81 -0
- package/dist/security/pages/VaultLandingPage.js.map +1 -0
- package/dist/security/pages/VaultSettingsPage.d.ts +2 -0
- package/dist/security/pages/VaultSettingsPage.d.ts.map +1 -0
- package/dist/security/pages/VaultSettingsPage.js +366 -0
- package/dist/security/pages/VaultSettingsPage.js.map +1 -0
- package/dist/security/pages/VaultsDashboardPage.d.ts +2 -0
- package/dist/security/pages/VaultsDashboardPage.d.ts.map +1 -0
- package/dist/security/pages/VaultsDashboardPage.js +280 -0
- package/dist/security/pages/VaultsDashboardPage.js.map +1 -0
- package/dist/security/providers/SecurityProvider.d.ts +13 -0
- package/dist/security/providers/SecurityProvider.d.ts.map +1 -0
- package/dist/security/providers/SecurityProvider.js +103 -0
- package/dist/security/providers/SecurityProvider.js.map +1 -0
- package/dist/security/routes/SecurityAdminRoutes.d.ts +7 -0
- package/dist/security/routes/SecurityAdminRoutes.d.ts.map +1 -0
- package/dist/security/routes/SecurityAdminRoutes.js +91 -0
- package/dist/security/routes/SecurityAdminRoutes.js.map +1 -0
- package/dist/security/routes/SecurityRoutes.d.ts +19 -0
- package/dist/security/routes/SecurityRoutes.d.ts.map +1 -0
- package/dist/security/routes/SecurityRoutes.js +91 -0
- package/dist/security/routes/SecurityRoutes.js.map +1 -0
- package/dist/security/routes/SecurityUserRoutes.d.ts +11 -0
- package/dist/security/routes/SecurityUserRoutes.d.ts.map +1 -0
- package/dist/security/routes/SecurityUserRoutes.js +53 -0
- package/dist/security/routes/SecurityUserRoutes.js.map +1 -0
- package/dist/security/routes/routeUtils.d.ts +28 -0
- package/dist/security/routes/routeUtils.d.ts.map +1 -0
- package/dist/security/routes/routeUtils.js +60 -0
- package/dist/security/routes/routeUtils.js.map +1 -0
- package/dist/security/store/securityStore.d.ts +35 -0
- package/dist/security/store/securityStore.d.ts.map +1 -0
- package/dist/security/store/securityStore.js +62 -0
- package/dist/security/store/securityStore.js.map +1 -0
- package/dist/security/types/index.d.ts +283 -0
- package/dist/security/types/index.d.ts.map +1 -0
- package/dist/security/utils/clipboard.d.ts +20 -0
- package/dist/security/utils/clipboard.d.ts.map +1 -0
- package/dist/security/utils/clipboard.js +23 -0
- package/dist/security/utils/clipboard.js.map +1 -0
- package/dist/security/utils/cn.d.ts +7 -0
- package/dist/security/utils/cn.d.ts.map +1 -0
- package/dist/security/utils/cn.js +10 -0
- package/dist/security/utils/cn.js.map +1 -0
- package/dist/security/utils/fileParser.d.ts +18 -0
- package/dist/security/utils/fileParser.d.ts.map +1 -0
- package/dist/security/utils/fileParser.js +108 -0
- package/dist/security/utils/fileParser.js.map +1 -0
- package/dist/security/utils/i18n.d.ts +5 -0
- package/dist/security/utils/i18n.d.ts.map +1 -0
- package/dist/security/utils/i18n.js +9 -0
- package/dist/security/utils/i18n.js.map +1 -0
- package/dist/security/utils/importParsers.d.ts +30 -0
- package/dist/security/utils/importParsers.d.ts.map +1 -0
- package/dist/security/utils/mappers.d.ts +35 -0
- package/dist/security/utils/mappers.d.ts.map +1 -0
- package/dist/security/utils/passwordGenerator.d.ts +22 -0
- package/dist/security/utils/passwordGenerator.d.ts.map +1 -0
- package/dist/security/utils/passwordGenerator.js +61 -0
- package/dist/security/utils/passwordGenerator.js.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +106 -0
package/README.md
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# @burdenoff/microfe-security
|
|
2
|
+
|
|
3
|
+
> Security vault management microfrontend for the Burdenoff platform
|
|
4
|
+
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
[](https://reactjs.org/)
|
|
7
|
+
[](https://vitejs.dev/)
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
The Security microfrontend provides a comprehensive vault-based secret management interface. It enables users to create and organize vaults, manage secrets with versioning and rotation, connect external providers, and monitor security health through audit logs and dashboards.
|
|
12
|
+
|
|
13
|
+
**Port:** `5150`
|
|
14
|
+
**Module Type:** Workspace Module
|
|
15
|
+
**Backend Service:** `wspace-security-svc`
|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
- **Vault Management**
|
|
20
|
+
- Create, edit, lock/unlock, and delete vaults
|
|
21
|
+
- Vault sharing with role-based access (owner, admin, editor, viewer)
|
|
22
|
+
- Auto-lock after configurable idle timeout
|
|
23
|
+
- Grid and list view modes
|
|
24
|
+
|
|
25
|
+
- **Secret Management**
|
|
26
|
+
- Create secrets with multiple types (API key, password, token, certificate, SSH key, env variable, custom)
|
|
27
|
+
- Secret versioning with rollback capability
|
|
28
|
+
- Secret rotation with configurable intervals and overdue tracking
|
|
29
|
+
- Encrypted value reveal with auto-clear timeout
|
|
30
|
+
- Labels for organization
|
|
31
|
+
|
|
32
|
+
- **Bulk Operations**
|
|
33
|
+
- Multi-select secrets for bulk delete, move, and label operations
|
|
34
|
+
|
|
35
|
+
- **Import / Export**
|
|
36
|
+
- Import secrets from JSON, CSV, and .env files
|
|
37
|
+
- Export secret metadata (values excluded for security)
|
|
38
|
+
|
|
39
|
+
- **External Providers**
|
|
40
|
+
- Connect external secret managers (HashiCorp Vault, AWS Secrets Manager, Azure Key Vault, GCP Secret Manager, 1Password, Bitwarden, Doppler)
|
|
41
|
+
- Bidirectional sync with configurable intervals
|
|
42
|
+
|
|
43
|
+
- **Audit & Compliance**
|
|
44
|
+
- Full audit log of all vault and secret operations
|
|
45
|
+
- Filterable by action type and date range
|
|
46
|
+
- Access review across all vaults and members
|
|
47
|
+
|
|
48
|
+
- **Security Dashboard**
|
|
49
|
+
- Health score based on expiring secrets, overdue rotations, and unused secrets
|
|
50
|
+
- At-a-glance metrics and recent activity timeline
|
|
51
|
+
|
|
52
|
+
## Installation
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# Install dependencies
|
|
56
|
+
bun install
|
|
57
|
+
|
|
58
|
+
# Generate GraphQL types (if applicable)
|
|
59
|
+
bun run codegen
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Development
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# Start development server (port 5150)
|
|
66
|
+
bun run dev
|
|
67
|
+
|
|
68
|
+
# Run linter
|
|
69
|
+
bun run lint
|
|
70
|
+
|
|
71
|
+
# Format code
|
|
72
|
+
bun run format
|
|
73
|
+
|
|
74
|
+
# Type check
|
|
75
|
+
bun run type:check
|
|
76
|
+
|
|
77
|
+
# Build for production
|
|
78
|
+
bun run build
|
|
79
|
+
|
|
80
|
+
# Run all quality checks
|
|
81
|
+
bun run sanity
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Project Structure
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
src/
|
|
88
|
+
├── dev/ # Development harness
|
|
89
|
+
│ └── main.tsx # Dev entry point
|
|
90
|
+
├── generated/ # Generated GraphQL types
|
|
91
|
+
├── operations/ # GraphQL operation documents
|
|
92
|
+
├── security/ # Main module
|
|
93
|
+
│ ├── components/ # React components
|
|
94
|
+
│ │ ├── ActivityTimeline.tsx
|
|
95
|
+
│ │ ├── AuditLogTable.tsx
|
|
96
|
+
│ │ ├── BulkActionBar.tsx
|
|
97
|
+
│ │ ├── ConfirmDialog.tsx
|
|
98
|
+
│ │ ├── CopyButton.tsx
|
|
99
|
+
│ │ ├── ExportDialog.tsx
|
|
100
|
+
│ │ ├── ImportWizard.tsx
|
|
101
|
+
│ │ ├── PageLayout.tsx
|
|
102
|
+
│ │ ├── PasswordGenerator.tsx
|
|
103
|
+
│ │ ├── ProviderSetupWizard.tsx
|
|
104
|
+
│ │ ├── RotationStatusBadge.tsx
|
|
105
|
+
│ │ ├── SecretFormFields.tsx
|
|
106
|
+
│ │ ├── SecretRow.tsx
|
|
107
|
+
│ │ ├── SecretTypeBadge.tsx
|
|
108
|
+
│ │ ├── SecretTypeIcon.tsx
|
|
109
|
+
│ │ ├── SecretValueDisplay.tsx
|
|
110
|
+
│ │ ├── SecurityScoreCard.tsx
|
|
111
|
+
│ │ ├── VaultCard.tsx
|
|
112
|
+
│ │ ├── VaultShareDialog.tsx
|
|
113
|
+
│ │ └── ui.tsx # Shared UI primitives
|
|
114
|
+
│ ├── constants/ # Static constants
|
|
115
|
+
│ │ ├── permissions.ts
|
|
116
|
+
│ │ ├── providers.ts
|
|
117
|
+
│ │ └── secretTypes.ts
|
|
118
|
+
│ ├── hooks/ # Custom React hooks
|
|
119
|
+
│ │ ├── useAuditLog.ts
|
|
120
|
+
│ │ ├── useBulkSecretOperations.ts
|
|
121
|
+
│ │ ├── useClipboardAutoClear.ts
|
|
122
|
+
│ │ ├── useImportExport.ts
|
|
123
|
+
│ │ ├── usePasswordGenerator.ts
|
|
124
|
+
│ │ ├── useProviderQueries.ts
|
|
125
|
+
│ │ ├── useSecretQueries.ts
|
|
126
|
+
│ │ ├── useSecretValue.ts
|
|
127
|
+
│ │ ├── useSecurityDashboard.ts
|
|
128
|
+
│ │ └── useVaultQueries.ts
|
|
129
|
+
│ ├── pages/ # Page components
|
|
130
|
+
│ │ ├── AccessReviewPage.tsx
|
|
131
|
+
│ │ ├── AuditLogPage.tsx
|
|
132
|
+
│ │ ├── ImportExportPage.tsx
|
|
133
|
+
│ │ ├── ProviderDetailPage.tsx
|
|
134
|
+
│ │ ├── ProvidersPage.tsx
|
|
135
|
+
│ │ ├── SecretCreatePage.tsx
|
|
136
|
+
│ │ ├── SecretDetailPage.tsx
|
|
137
|
+
│ │ ├── SecurityDashboardPage.tsx
|
|
138
|
+
│ │ ├── VaultDetailPage.tsx
|
|
139
|
+
│ │ ├── VaultSettingsPage.tsx
|
|
140
|
+
│ │ └── VaultsDashboardPage.tsx
|
|
141
|
+
│ ├── providers/ # Context providers
|
|
142
|
+
│ │ └── SecurityProvider.tsx
|
|
143
|
+
│ ├── store/ # Zustand state management
|
|
144
|
+
│ │ └── securityStore.ts
|
|
145
|
+
│ ├── types/ # TypeScript types
|
|
146
|
+
│ │ └── index.ts
|
|
147
|
+
│ ├── utils/ # Utility functions
|
|
148
|
+
│ │ ├── clipboard.ts
|
|
149
|
+
│ │ ├── cn.ts
|
|
150
|
+
│ │ ├── importParsers.ts
|
|
151
|
+
│ │ ├── mappers.ts
|
|
152
|
+
│ │ └── passwordGenerator.ts
|
|
153
|
+
│ ├── SecurityRoot.tsx # Module root component
|
|
154
|
+
│ ├── SecurityRoutes.tsx # Route definitions
|
|
155
|
+
│ └── index.ts # Public API
|
|
156
|
+
└── index.ts # Package entry point
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## GraphQL Operations
|
|
160
|
+
|
|
161
|
+
### Queries
|
|
162
|
+
- `getVaults` - List vaults with filtering and pagination
|
|
163
|
+
- `getVault` - Get vault detail with members
|
|
164
|
+
- `getSecrets` - List secrets with filtering
|
|
165
|
+
- `getSecret` - Get secret detail with version history
|
|
166
|
+
- `decryptSecret` - Retrieve decrypted secret value
|
|
167
|
+
- `getAuditLogs` - Audit log entries with filtering
|
|
168
|
+
- `getVaultIntegrations` - External provider connections
|
|
169
|
+
|
|
170
|
+
### Mutations
|
|
171
|
+
- `createVault` / `updateVault` / `deleteVault` - Vault CRUD
|
|
172
|
+
- `lockVault` / `unlockVault` - Vault lock management
|
|
173
|
+
- `createSecret` / `updateSecret` / `deleteSecret` - Secret CRUD
|
|
174
|
+
- `rotateSecret` - Rotate a secret value
|
|
175
|
+
- `rollbackSecret` - Rollback to a previous version
|
|
176
|
+
- `bulkDeleteSecrets` / `bulkMoveSecrets` / `bulkLabelSecrets` - Bulk operations
|
|
177
|
+
- `importSecrets` - Import secrets from file
|
|
178
|
+
- `createVaultIntegration` / `deleteVaultIntegration` - Provider management
|
|
179
|
+
- `triggerVaultSync` - Trigger provider sync
|
|
180
|
+
|
|
181
|
+
## Integration with Shell
|
|
182
|
+
|
|
183
|
+
```tsx
|
|
184
|
+
import { SecurityRoot } from '@burdenoff/microfe-security';
|
|
185
|
+
|
|
186
|
+
function App() {
|
|
187
|
+
return (
|
|
188
|
+
<SecurityRoot
|
|
189
|
+
basePath="/security"
|
|
190
|
+
navigate={navigate}
|
|
191
|
+
apiGatewayUrl="http://localhost:4003/workspaces/graphql"
|
|
192
|
+
workspaceId="workspace-123"
|
|
193
|
+
authToken="your-token"
|
|
194
|
+
/>
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
## Available Scripts
|
|
200
|
+
|
|
201
|
+
| Script | Description |
|
|
202
|
+
|--------|-------------|
|
|
203
|
+
| `bun run dev` | Start development server |
|
|
204
|
+
| `bun run build` | Build for production |
|
|
205
|
+
| `bun run lint` | Run ESLint |
|
|
206
|
+
| `bun run format` | Format with Prettier |
|
|
207
|
+
| `bun run type:check` | TypeScript type checking |
|
|
208
|
+
| `bun run codegen` | Generate GraphQL types |
|
|
209
|
+
| `bun run sanity` | Run all quality checks |
|
|
210
|
+
|
|
211
|
+
## Technology Stack
|
|
212
|
+
|
|
213
|
+
- **Framework:** React 19 with TypeScript 5.9
|
|
214
|
+
- **Build Tool:** Vite 8
|
|
215
|
+
- **State Management:** Zustand 5
|
|
216
|
+
- **GraphQL Client:** Apollo Client 4
|
|
217
|
+
- **Styling:** Tailwind CSS v4
|
|
218
|
+
- **Icons:** Lucide React
|
|
219
|
+
- **Routing:** React Router DOM 7
|
|
220
|
+
|
|
221
|
+
## License
|
|
222
|
+
|
|
223
|
+
Proprietary - Copyright Burdenoff Consultancy Services Pvt. Ltd.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/dev/main.tsx"],"names":[],"mappings":"AAOA,OAAO,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-operations.d.ts","sourceRoot":"","sources":["../../src/generated/global-operations.ts"],"names":[],"mappings":""}
|