CIA Compliance Manager API Documentation - v0.8.5

    Module utils

    Central export of utility functions for CIA Compliance Manager

    This index file provides organized exports of all utility functions to ensure they're properly accessible throughout the application.

    Variables

    asSecurityLevel
    BUSINESS_IMPACT_CATEGORIES
    calculateCombinedRiskLevel
    calculateImplementationCost
    calculateOverallSecurityLevel
    calculateOverallSecurityLevelFromValues
    calculateRiskScore
    calculateSecurityROI
    calculateTotalSecurityCost
    compareSecurityLevels
    ensureArray
    extractSecurityLevels
    formatBudgetPercentage
    formatCurrency
    formatCurrencyWithOptions
    formatDate
    formatError
    formatLargeNumber
    formatNumber
    formatNumberWithDecimals
    formatPercentage
    formatRiskLevel
    formatSecurityLevel
    formatSecurityLevelFromWidget
    formatSecurityLevelString
    formatTimeframe
    formatUptime
    getColorForRiskLevel
    getComplianceStatusColor
    getFormattedRiskLevel
    getNormalizedSecurityValue
    getNumericSecurityLevelValue
    getRecommendedBudgetAllocation
    getRecommendedSecurityLevel
    getRiskBadgeVariant
    getRiskLevelFromSecurityLevel
    getRiskScoreFromSecurityLevel
    getRiskSeverityDescription
    getSecurityIcon
    getSecurityLevelBadgeVariant
    getSecurityLevelClass
    getSecurityLevelColorClass
    getSecurityLevelDescription
    getSecurityLevelFromValue
    getSecurityLevelPercentage
    getSecurityLevelValue
    getStatusBadgeForRiskLevel
    getWidgetColumnSpan
    getWidgetRowSpan
    handleWidgetError
    hasProperty
    hasTagValue
    hasWidgetProps
    isBusinessImpactCategory
    isBusinessImpactDetails
    isComplianceFramework
    isComplianceFrameworkName
    isComplianceFrameworkObject
    isComplianceStatus
    isNumber
    isObject
    isRiskLevel
    isROIEstimate
    isROIMetricDetails
    isROIMetrics
    isSecurityLevel
    isSecurityProfile
    isSecurityResource
    isString
    isWidget
    isWidgetConfig
    isWidgetProps
    isWidgetType
    KeyValuePair
    meetsComplianceRequirements
    normalizeSecurityLevel
    parseRiskLevel
    RISK_LEVELS
    RiskLevelKeyValue
    safeAccess
    safeNumberConversion
    sanitizeWidgetId
    SECURITY_LEVEL_VALUES
    SecurityLevelBadge
    toErrorObject
    toTitleCase
    WidgetEmptyState
    WidgetError
    WidgetLoading

    Functions

    calculateWidgetRiskLevel
    formatSecurityMetric
    getProgressColor
    getSeverityColor
    SecurityLevelDisplay

    References

    calculateRiskLevel → CIAUtilities.calculateRiskLevel
    MMNEPVFCICPMFPCPTTAAATR