def get_findings_summary_data(self, company_name, company_guid):
        """Fetch findings summary data for a specific company and post it to Sentinel.

        Args:
            company_name (str): Name of the company.
            company_guid (str): GUID of the company.

        Raises:
            BitSightException: Raised when invalid findings summary data is received.
        """
        try:
            findings_summary_endpoint = consts.ENDPOINTS[
                "findings_summary_endpoint_path"
            ].format(company_guid)
            findings_summary_url = self.base_url + findings_summary_endpoint
            findings_summary_results = self.get_bitsight_data(findings_summary_url)
            if not (findings_summary_results and findings_summary_results[-1]):
                applogger.info(
                    "{} {} No new data found.".format(
                        self.logs_starts_with, consts.FINDINGS_SUMMARY_FUNC_NAME
                    )
                )
                return

            req_params = {}
            req_params["fields"] = "name,display_name,description,severity"
            vulnerabilities_response = self.get_bitsight_data(
                consts.VULNERABILITIES_URL, query_parameter=req_params
            )

            if not vulnerabilities_response:
                applogger.info(
                    "{} {} No vulnerabilities data found.".format(
                        self.logs_starts_with, consts.FINDINGS_SUMMARY_FUNC_NAME
                    )
                )
                return

            self.create_findings_summary_data(
                findings_summary_results[-1],
                vulnerabilities_response,
                company_name,
                company_guid,
            )

            # delete rating field after post.
            del findings_summary_results
        except BitSightException:
            applogger.error(
                "{} {} Exception occurred in get_findings_summary_data method.".format(
                    self.logs_starts_with, consts.FINDINGS_SUMMARY_FUNC_NAME
                )
            )
            raise BitSightException()
        except Exception as err:
            applogger.exception(
                "{} {} Error: {}".format(
                    self.logs_starts_with, consts.FINDINGS_SUMMARY_FUNC_NAME, err
                )
            )
            raise BitSightException()
Fetch findings summary data for a specific company and post it to Sentinel.

        Args:
            company_name (str): Name of the company.
            company_guid (str): GUID of the company.

        Raises:
            BitSightException: Raised when invalid findings summary data is received.
        
Solutions/BitSight/Data Connectors/BitSightDataConnector/FindingsSummaryDetails/bitsight_findings_summary.py