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

    Interface UseSecurityLevelStateReturn

    Return type for useSecurityLevelState hook

    interface UseSecurityLevelStateReturn {
        getLevel: (component: CIAComponent) => SecurityLevel;
        levels: SecurityLevelState;
        resetLevels: (defaultLevel?: SecurityLevel) => void;
        setLevel: (component: CIAComponent, level: SecurityLevel) => void;
    }
    Index

    Properties

    getLevel: (component: CIAComponent) => SecurityLevel

    Gets security level for a specific component

    Current security levels for all components

    resetLevels: (defaultLevel?: SecurityLevel) => void

    Resets all security levels to default

    setLevel: (component: CIAComponent, level: SecurityLevel) => void

    Updates security level for a specific component