CIA Compliance Manager API Documentation - v1.0.1
    Preparing search index...

    Interface SecuritySummaryWidgetProps

    Props for SecuritySummaryWidget component

    Displays comprehensive security assessment summary across all CIA components.

    <SecuritySummaryWidget
    availabilityLevel="High"
    integrityLevel="Very High"
    confidentialityLevel="Moderate"
    onLevelChange={(component, level) => handleChange(component, level)}
    />
    interface SecuritySummaryWidgetProps {
        availabilityLevel: SecurityLevel;
        children?: ReactNode;
        className?: string;
        confidentialityLevel: SecurityLevel;
        defaultTab?: number;
        integrityLevel: SecurityLevel;
        onError?: (error: Error) => void;
        onLevelChange?: (component: CIAComponent, level: SecurityLevel) => void;
        testId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    availabilityLevel: SecurityLevel

    Security level for availability component

    children?: ReactNode

    Optional children elements

    className?: string

    Optional CSS class name for custom styling

    Allows consumers to apply custom styles via CSS classes. Use Tailwind CSS classes or custom CSS classes.

    "mt-4 border-2 rounded-lg"
    
    confidentialityLevel: SecurityLevel

    Security level for confidentiality component

    defaultTab?: number

    Initial active tab index

    0
    
    integrityLevel: SecurityLevel

    Security level for integrity component

    onError?: (error: Error) => void

    Optional callback when widget encounters an error

    Type Declaration

      • (error: Error): void
      • Parameters

        • error: Error

          Error that occurred

        Returns void

    onLevelChange?: (component: CIAComponent, level: SecurityLevel) => void

    Callback fired when any security level changes

    Type Declaration

    testId?: string

    Optional test ID for automated testing

    Used by testing frameworks (Cypress, Vitest) to locate and interact with the component. Should follow the pattern defined in testIds constants.

    "security-widget-availability"