How bismarckpam/bismarck-frontend works
Bismarck PAM is a React frontend for privileged-access management. Users sign in, request resource access, receive approval or rejection, use time-limited JIT permissions, and review notifications and audit history; administrators also manage users, policies, resources, onboarding, and active permissions. App.tsx routes the screens under authentication and role guards. The README documents the API Gateway as the backend entry point. Some page implementations were not sampled, so their detailed calls are not inferred; the documented capabilities are retained as API-facing branches.
Main entry points: App.tsx Routes and guards · AdminDashboard.tsx Admin console · JitAccess.tsx JIT access · WorkflowProvider.tsx Workflow state
Components 26
Application shell
- Routes and guards
src/App.tsx - Application layout
src/components/layout/AppLayout.tsx - Public landing
src/features/landing/LandingPage.tsx
Identity and state
- Authentication
src/context/AuthProvider.tsx - Login API
src/api/auth.ts - HTTP clients
src/api/client.ts - Workflow state
src/state/WorkflowProvider.tsx
Access workflow
- Access requests
src/pages/RequestAccess.tsx - My requests
src/pages/MyRequests.tsx - Approval queue
src/pages/ApprovalQueue.tsx - Approval API
src/api/approval.ts - JIT access
src/pages/JitAccess.tsx - JIT API
src/api/jit.ts - Brokered terminal
src/components/terminal/TerminalPanel.tsx - Terminal API
src/api/jitTerminal.ts - Resource catalog
src/pages/Resources.tsx
Administration and oversight
- Notifications
src/pages/Notifications.tsx - Audit log
src/pages/AuditLog.tsx - Access analytics
src/components/analytics/AnalyticsDashboard.tsx - Admin console
src/pages/admin/AdminDashboard.tsx - User management
src/pages/admin/AdminUsers.tsx - User onboarding
src/pages/Onboarding.tsx - Policy management
src/pages/Policies.tsx - Active permissions
src/pages/admin/AdminActivePermissions.tsx
Other components
- User
- API Gateway
Connections 30
- User → Routes and guards: uses
src/App.tsx - Routes and guards → Authentication: provides
src/App.tsx - Routes and guards → Workflow state: provides
src/App.tsx - Routes and guards → Application layout: routes through
src/App.tsx - Routes and guards → Public landing: routes to
src/App.tsx - Authentication → Login API: signs in through
src/context/AuthProvider.tsx - Login API → HTTP clients: uses
src/api/auth.ts - Workflow state → Approval API: loads requests
src/state/WorkflowProvider.tsx - Workflow state → API Gateway: loads notifications
- Access requests → API Gateway: submits request
- My requests → API Gateway: loads history
- Approval queue → API Gateway: reviews requests
- JIT access → JIT API: loads and revokes
src/pages/JitAccess.tsx - JIT access → Terminal API: checks status
src/pages/JitAccess.tsx - JIT access → Brokered terminal: renders
src/pages/JitAccess.tsx - Brokered terminal → Terminal API: connects through
src/components/terminal/TerminalPanel.tsx - JIT API → HTTP clients: uses
src/api/jit.ts - Terminal API → HTTP clients: uses
src/api/jitTerminal.ts - Resource catalog → API Gateway: lists resources
- Notifications → API Gateway: lists notifications
- Audit log → API Gateway: queries logs
- Access analytics → API Gateway: loads analytics
- Admin console → User management: routes to
src/App.tsx - Admin console → Policy management: routes to
src/App.tsx - Admin console → Approval queue: routes to
src/App.tsx - Admin console → Active permissions: routes to
src/App.tsx - User management → API Gateway: manages users
- User onboarding → API Gateway: reviews tickets
- Policy management → API Gateway: manages policies
- Active permissions → API Gateway: revokes permissions