How nuwcdivnpt/stig-manager works
Main Components
a. Client Layer:
• Web Client (ExtJS-based frontend)
• Client-side Services (Authentication, State Management)
• UI Components (Grids, Forms, Panels)
b. API Layer:
• RESTful API endpoints
• Controllers (Asset, Collection, Metrics, Review, STIG, User)
• Service Layer
• Authentication/Authorization
c. Data Layer:
• MySQL Database
• Migration System
• Data Models
d. External Integrations:
• DISA STIG/SRG Integration
• Authentication Provider (Keycloak)
Component Relationships
[Client Layer]
• HTTP/REST
• v
[API Gateway/Load Balancer]
[API Layer]
• v v
[Database] [External Services]
Detailed Component Breakdown
Client Layer:
[Web Client]
• SM/ Components
• Authentication Module
• State Management
• UI Components
API Layer:
[API Server]
• Controllers/
• Asset
• Collection
• Metrics
• Review
• STIG
• User
• Services/
• Business Logic
• Data Access
• Utils/
• Authentication
• Configuration
• Logging
Data Layer:
[MySQL Database]
• Tables
• Views
• Migrations
Key Interactions to Highlight
• Authentication flow between client, API, and authentication provider
• STIG data import/export processes
• Review and assessment workflows
• Metrics collection and reporting
• Asset management operations
Additional Elements
• Security boundaries and zones
• Data flow directions
• API endpoints grouping
• Database schema relationships
• Caching mechanisms
• Service worker implementation
Implementation Details
Use a diagramming tool that supports:
• Nested components
• Grouping/clustering
• Labels and annotations
Integration points with external systems
This architecture represents a modern web application with clear separation of concerns, robust security, and scalable design patterns.