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

    Props for SecurityResourcesWidget component

    Defines the configuration for displaying security resources and implementation guides based on selected security levels across all CIA components.

    <SecurityResourcesWidget
    availabilityLevel="High"
    integrityLevel="Very High"
    confidentialityLevel="Moderate"
    limit={10}
    showTopResourcesOnly={true}
    className="mt-4"
    testId="security-resources"
    />
    interface SecurityResourcesWidgetProps {
        availabilityLevel: SecurityLevel;
        className?: string;
        confidentialityLevel: SecurityLevel;
        integrityLevel: SecurityLevel;
        limit?: number;
        showTopResourcesOnly?: boolean;
        testId?: string;
    }
    Index

    Properties

    availabilityLevel: SecurityLevel

    Selected availability level

    Determines which availability-specific resources and guides to display.

    'High'
    
    className?: string

    Optional CSS class name for custom styling

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

    ""
    
    "mt-4 shadow-lg rounded-lg"
    
    confidentialityLevel: SecurityLevel

    Selected confidentiality level

    Determines which confidentiality-specific resources and guides to display.

    'Moderate'
    
    integrityLevel: SecurityLevel

    Selected integrity level

    Determines which integrity-specific resources and guides to display.

    'Very High'
    
    limit?: number

    Optional limit for the number of resources to display

    Controls how many resource cards are shown. Higher limits provide more comprehensive guidance but require more screen space.

    8
    
    10
    
    showTopResourcesOnly?: boolean

    Optional flag to show only top/priority resources

    When true, filters to show only the most relevant and high-priority resources for the selected security levels, providing focused guidance.

    false
    
    true
    
    testId?: string

    Optional test ID for automated testing

    Used by Cypress and Vitest for component identification in tests. Defaults to SECURITY_RESOURCES_TEST_IDS.WIDGET constant.

    SECURITY_RESOURCES_TEST_IDS.WIDGET
    
    "custom-security-resources"