CIA Compliance Manager API Documentation - v0.8.5

    Variable getSecurityLevelBadgeVariant

    getSecurityLevelBadgeVariant: (
        level: string,
    ) => "purple" | "info" | "success" | "warning" | "error" | "neutral"

    Type declaration

      • (level: string): "purple" | "info" | "success" | "warning" | "error" | "neutral"
      • Map a security level to a status badge variant

        Parameters

        • level: string

          The security level string

        Returns "purple" | "info" | "success" | "warning" | "error" | "neutral"

        A status badge variant

    MMNEPVFCICPMFPCPTTAAATR