CIA Compliance Manager — API Documentation - v1.1.50
    Preparing search index...

    Interface ISecurityMetricsService

    Security Metrics Service interface

    Provides security scoring and metrics calculation

    interface ISecurityMetricsService {
        name: string;
        validate(input: unknown): boolean;
        handleError(error: Error): ServiceError;
        calculateSecurityScore(
            availabilityLevel: SecurityLevel,
            integrityLevel: SecurityLevel,
            confidentialityLevel: SecurityLevel,
        ): number;
        getComponentMetrics(
            component: CIAComponentType,
            level: SecurityLevel,
        ): IComponentMetrics;
        getImpactMetrics(
            component: CIAComponentType,
            level: SecurityLevel,
        ): IImpactMetrics;
        getSecurityIcon(level: SecurityLevel): string;
        getProtectionLevel(level: SecurityLevel): string;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    name: string

    Service name for identification and logging

    Methods

    • Validate input parameters (returns simple boolean)

      Parameters

      • input: unknown

        Input to validate

      Returns boolean

      True if valid, false otherwise