def get_defender_indicator_value(self, indicator):
        """To convert sentinel indicator pattern to threat value."""
        __method_name = inspect.currentframe().f_code.co_name
        try:
            sentinel_pattern = indicator.get("properties", {}).get("pattern", None)
            if sentinel_pattern:
                return (sentinel_pattern.split("=")[1]).strip("' ]")
            else:
                raise CofenseException()
        except CofenseException as error:
            applogger.error(
                "{}(method={}) : {} : Unknown indicator value from sentinel. "
                "Sentinel Indicator name : {}. Error : {}.".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.SENTINEL_TO_DEFENDER,
                    indicator.get("properties", {}).get("displayName", None),
                    error,
                )
            )
            raise CofenseException()
To convert sentinel indicator pattern to threat value.
Solutions/CofenseTriage/Data Connectors/CofenseTriageDataConnector/IndicatorCreatorToDefender/sentinel_to_defender_mapping.py