def update_indicator(self, cofense_object, cofense_id, threat_level):
        """To update the indicator threat level in cofense triage."""
        try:
            __method_name = inspect.currentframe().f_code.co_name
            # Update the indicator data into cofense triage.
            __method_name = inspect.currentframe().f_code.co_name
            cofense_object.update_indicators(
                threat_level=threat_level,
                id=cofense_id,
            )
            applogger.debug(
                "{}(method={}) : {} : "
                "Indicator successfully updated into Cofense with id : {}.".format(
                    LOGS_STARTS_WITH, __method_name, SENTINEL_TO_COFENSE, cofense_id
                )
            )
        except CofenseException as error:
            applogger.error(
                "{}(method={}) : {} : Error occurred while updating indicator in cofense : {}".format(
                    LOGS_STARTS_WITH, __method_name, SENTINEL_TO_COFENSE, error
                )
            )
            raise CofenseException()
To update the indicator threat level in cofense triage.
Solutions/CofenseTriage/Data Connectors/CofenseTriageDataConnector/NonCofenseBasedIndicatorCreatorToCofense/sentinel.py