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

    Interface ComplianceStatusWidgetProps

    Props for ComplianceStatusWidget component

    Shows compliance status across multiple regulatory frameworks based on current security levels.

    <ComplianceStatusWidget
    availabilityLevel="High"
    integrityLevel="Very High"
    confidentialityLevel="Moderate"
    frameworks={['NIST', 'ISO27001', 'GDPR']}
    showRequirements
    />
    interface ComplianceStatusWidgetProps {
        availabilityLevel: SecurityLevel;
        children?: ReactNode;
        className?: string;
        confidentialityLevel: SecurityLevel;
        frameworks?: string[];
        industry?: string;
        integrityLevel: SecurityLevel;
        onError?: (error: Error) => void;
        region?: string;
        showRequirements?: boolean;
        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

    frameworks?: string[]

    Compliance frameworks to check

    ['NIST', 'ISO27001', 'GDPR']
    
    industry?: string

    Optional industry context for compliance

    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

    region?: string

    Optional region context for compliance

    showRequirements?: boolean

    If true, displays detailed compliance requirements

    false
    
    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"