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(
                "parsedPattern", None
            )
            if sentinel_pattern:
                sentinel_parsed_pattern_value = sentinel_pattern[0].get(
                    "patternTypeValues", None
                )
                if sentinel_parsed_pattern_value:
                    defender_indicator_value = sentinel_parsed_pattern_value[0].get(
                        "value", None
                    )
                    if defender_indicator_value:
                        return defender_indicator_value
                    else:
                        raise CofenseIntelligenceException()
                else:
                    raise CofenseIntelligenceException()
            else:
                raise CofenseIntelligenceException()
        except CofenseIntelligenceException 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 CofenseIntelligenceException()
To convert sentinel indicator pattern to threat value.
Solutions/CofenseIntelligence/Data Connectors/CofenseIntelligenceDataConnector/SentinelToDefender/sentinel_to_defender_mapping.py