def upload_indicator(
        self,
        indicator_list,
    ):
        """
        Upload indicators to microsoft sentinel.

        Args:
            azure_function_name (str): Name of the azure function
            indicator_list (list): List of indicators to be uploaded

        Raises:
            InfobloxException: If an error occurs while uploading indicators.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            applogger.info(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    "Uploading Indicators, Length of records : {}".format(len(indicator_list)),
                )
            )
            response_json = self.send_indicators_to_threat_intelligence(indicator_list)
            applogger.info(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    "Checking for error in response",
                )
            )
            if len(response_json.get("errors")) != 0:
                applogger.info(
                    self.log_format.format(
                        consts.LOGS_STARTS_WITH,
                        __method_name,
                        self.azure_function_name,
                        "Some indicators are failed to create, No. of failed indicators = {}".format(
                            len(response_json.get("errors"))
                        ),
                    )
                )
                self.handle_failed_indicators(indicator_list, response_json)
            else:
                applogger.info(
                    self.log_format.format(
                        consts.LOGS_STARTS_WITH,
                        __method_name,
                        self.azure_function_name,
                        "No error in Response",
                    )
                )
        except InfobloxException:
            raise InfobloxException()
        except Exception as error:
            applogger.error(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    consts.UNEXPECTED_ERROR_MSG.format(error),
                )
            )
            raise InfobloxException()

        Upload indicators to microsoft sentinel.

        Args:
            azure_function_name (str): Name of the azure function
            indicator_list (list): List of indicators to be uploaded

        Raises:
            InfobloxException: If an error occurs while uploading indicators.
        
Solutions/Infoblox/Data Connectors/InfobloxCloudDataConnector/SharedCode/utils.py