def report_link_mapping(self, indicator):
        """To get the report link from the cofense indicator."""
        __method_name = inspect.currentframe().f_code.co_name
        report_link = indicator.get("relationships", {}).get("reports", {}).get("links", {}).get("related", "")
        if report_link:
            applogger.debug(
                "{}(method={}) : {} : report link : {}".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    COFENSE_TO_SENTINEL,
                    report_link,
                )
            )
        else:
            applogger.warning(
                "{}(method={}) : {} : no report link found.".format(
                    LOGS_STARTS_WITH, __method_name, COFENSE_TO_SENTINEL
                )
            )
        return report_link
To get the report link from the cofense indicator.
Solutions/CofenseTriage/Data Connectors/CofenseTriageDataConnector/CofenseBasedIndicatorCreator/cofense_to_sentinel_mapping.py