cia-compliance-manager

CIA Compliance Manager Diagrams v0.8.22


CIA Compliance Manager - Architecture Diagrams

This documentation provides visual representations of the CIA Compliance Manager architecture through generated diagrams that help developers understand the system structure.

About the Diagrams

These diagrams are automatically generated from the TypeScript codebase using TypeDoc and Mermaid. They provide insights into:

Core Domain Model

At the heart of CIA Compliance Manager is the CIA Triad model, represented in these key relationships:

classDiagram
    class SecurityProfile {
        +confidentiality: SecurityLevel
        +integrity: SecurityLevel
        +availability: SecurityLevel
        +getOverallScore(): number
    }
    
    SecurityLevel --|> SecurityProfile
    SecurityProfile --> BusinessImpact
    SecurityProfile --> ComplianceStatus
    SecurityProfile --> RiskAssessment
    
    class BusinessImpact {
        +confidentialityImpact: ImpactLevel
        +integrityImpact: ImpactLevel
        +availabilityImpact: ImpactLevel
        +overallImpact: ImpactLevel
    }
    
    class ComplianceStatus {
        +isCompliant: boolean
        +complianceScore: number
        +gaps: ComplianceGap[]
        +recommendations: string[]
    }

Component Hierarchy

The diagrams illustrate the component hierarchy and relationships between:

Application Structure

Component Organization

Service Architecture

The service layer follows a well-defined hierarchy:

classDiagram
    class BaseService {
        #logger: Logger
        +initialize(): void
    }
    
    BaseService <|-- ComplianceService
    BaseService <|-- SecurityMetricsService
    BaseService <|-- BusinessImpactService
    BaseService <|-- CIAContentService
    BaseService <|-- TechnicalImplementationService

Data Flow Diagrams

The data flow diagrams illustrate how information moves through the application:

User Input Flow

Service Interaction Patterns

Type Relationship Diagrams

The type diagrams provide insights into the domain model:

Core Domain Types

Component Interface Hierarchy

Implementation Patterns

The diagrams reveal common implementation patterns:

Service Architecture

Component Composition

How to Use These Diagrams

These visualizations help developers understand the application structure and make informed design decisions when maintaining or extending the system.