def get_cofense_data(self, url, params=None, endpoint_name="", proxies=None):
        """Get the Cofense Intelligence Indicators data.

        Args:
            url (String): url for fetch cofense data.
            params (dict, optional): parameter for request. Defaults to None.
            endpoint_name (String, optional):endpoint name. Defaults to ''.
            proxies(dict,optional):proxy, Defaults to None.

        Raises:
            CofenseIntelligenceException: Custom cofense Exception

        Returns:
            json: Cofense data.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            retry_count_429 = 0
            while retry_count_429 <= 1:
                cofense_intelligence_data = self.make_http_request(
                    url=url,
                    method="GET",
                    parameters=params,
                    auth=self.auth,
                    proxies=proxies,
                )
                cofense_intelligence_data_status_code = (
                    cofense_intelligence_data.status_code
                )
                if (
                    cofense_intelligence_data_status_code >= 200
                    and cofense_intelligence_data_status_code <= 299
                ):
                    indicator_json = cofense_intelligence_data.json()
                    return indicator_json
                elif cofense_intelligence_data_status_code == 401:
                    applogger.error(
                        "{}(method={}) : {} : Unauthorized, Invalid Cofense Username or Cofense Password.".format(
                            consts.LOGS_STARTS_WITH,
                            __method_name,
                            consts.COFENSE_TO_SENTINEL,
                        )
                    )

                    raise CofenseIntelligenceException()
                elif cofense_intelligence_data_status_code == 429:
                    applogger.error(
                        "{}(method={}) : {} : trying again error 429 in {}.".format(
                            consts.LOGS_STARTS_WITH,
                            __method_name,
                            consts.COFENSE_TO_SENTINEL,
                            endpoint_name,
                        )
                    )
                    retry_count_429 += 1
                    time.sleep(consts.COFENSE_429_SLEEP)
                else:
                    applogger.error(
                        "{}(method={}) : {} : url: {}, Status Code : {} : error in {}."
                        " while pulling indicator data.".format(
                            consts.LOGS_STARTS_WITH,
                            __method_name,
                            consts.COFENSE_TO_SENTINEL,
                            url,
                            cofense_intelligence_data_status_code,
                            endpoint_name,
                        )
                    )
                    raise CofenseIntelligenceException()
            applogger.error(
                "{}(method={}) : {} : Max retries exceeded in {} while fetching data.".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.COFENSE_TO_SENTINEL,
                    endpoint_name,
                )
            )
            raise CofenseIntelligenceException()
        except CofenseIntelligenceException:
            applogger.error(
                "{}(method={}) : {} : error in {} while pulling data of indicator.".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.COFENSE_TO_SENTINEL,
                    endpoint_name,
                )
            )
            raise CofenseIntelligenceException()
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} : error in {} while pulling data of indicator: {}.".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.COFENSE_TO_SENTINEL,
                    endpoint_name,
                    error,
                )
            )
            raise CofenseIntelligenceException()
Get the Cofense Intelligence Indicators data.

        Args:
            url (String): url for fetch cofense data.
            params (dict, optional): parameter for request. Defaults to None.
            endpoint_name (String, optional):endpoint name. Defaults to ''.
            proxies(dict,optional):proxy, Defaults to None.

        Raises:
            CofenseIntelligenceException: Custom cofense Exception

        Returns:
            json: Cofense data.
        
Solutions/CofenseIntelligence/Data Connectors/CofenseIntelligenceDataConnector/SharedCode/utils.py