def get_issues(self, **config):
        """get_issues method will get the issues data of a company."""
        try:
            issue_types_url = "{}/metadata/issue-types".format(self.__base_url)
            issue_types = make_rest_call(
                url=issue_types_url, secret_key=self.__access_key
            )
            json_issue_type = issue_types["entries"]
        except Exception:
            raise NoDataError(
                "SecurityScorecard Connector: Issue type data is not available"
            )

        from_date, to_date = "{}T00:00:00Z".format(
            config.get("from_date")
        ), "{}T00:00:00Z".format(config.get("to_date"))
        issue_level_url = (
            "{}/companies/{}/history/events?date_from={}&date_to={}".format(
                self.__base_url, self.domain, from_date, to_date
            )
        )
        issue_level = make_rest_call(
            url=issue_level_url,
            secret_key=self.__access_key,
        )
        json_issue_level_entries = issue_level.get("entries", [])
        if not json_issue_level_entries:
            raise NoDataError(
                "SecurityScorecard Connector: Issue level data is not available"
            )

        return list(
            map(
                lambda entry: {
                    "body": "Issue",
                    "Factor": entry.get("factor", "None"),
                    "eventID": entry.get("id", "No_id"),
                    "subject": self.domain,
                    "date": format_date_string(entry.get("date", "no_date")),
                    "issueType": entry.get("issue_type", "no_issueType"),
                    "findingsCount": entry.get("issue_count", "no_issue_count"),
                    "groupStatus": entry.get("group_status"),
                    "issueName": "{}".format(
                        get_value_from_dict_list(
                            json_issue_type, "key", entry.get("issue_type")
                        )["title"]
                        if get_value_from_dict_list(
                            json_issue_type, "key", entry.get("issue_type")
                        )
                        else "not found"
                    ),
                    "totalScoreImpact": entry.get("total_score_impact"),
                    "severity_value": entry.get("severity"),
                    "detail_url": entry.get("detail_url"),
                    "ss_time": entry.get("date", ""),
                },
                filter(
                    lambda each: each["issue_type"] != "breach",
                    json_issue_level_entries,
                ),
            )
        )
get_issues method will get the issues data of a company.
Solutions/SecurityScorecard Cybersecurity Ratings/Data Connectors/SecurityScorecardIssue/SecurityScorecardIssueSentinelConnector/scorecard.py