def METHOD_NAME(self) -> None:
    try:
        if not self.bc_integration.customer_run_config_response:
            logging.debug('In the pre-scan for custom policies, but nothing was fetched from the platform')
            self.integration_feature_failures = True
            return
        policies = self.bc_integration.customer_run_config_response.get('customPolicies')
        for policy in policies:
            try:
                logging.debug(f"Loading policy id: {policy.get('id')}")
                converted_check = self._convert_raw_check(policy)
                source_incident_id = policy.get('sourceIncidentId')
                if source_incident_id:
                    policy['severity'] = Severities[policy['severity']]
                    self.bc_cloned_checks[source_incident_id].append(policy)
                    continue
                resource_types = Registry._get_resource_types(converted_check['metadata'])
                check = self.platform_policy_parser.parse_raw_check(converted_check, resources_types=resource_types)
                check.severity = Severities[policy['severity']]
                check.bc_id = check.id
                if check.frameworks:
                    for f in check.frameworks:
                        if f.lower() == "cloudformation":
                            get_graph_checks_registry("cloudformation").checks.append(check)
                        elif f.lower() == "terraform":
                            get_graph_checks_registry("terraform").checks.append(check)
                        elif f.lower() == "kubernetes":
                            get_graph_checks_registry("kubernetes").checks.append(check)
                elif re.match(CFN_RESOURCE_TYPE_IDENTIFIER, check.resource_types[0]):
                    get_graph_checks_registry("cloudformation").checks.append(check)
                else:
                    get_graph_checks_registry("terraform").checks.append(check)
            except Exception:
                logging.debug(f"Failed to load policy id: {policy.get('id')}", exc_info=True)
        logging.debug(f'Found {len(policies)} custom policies from the platform.')
    except Exception:
        self.integration_feature_failures = True
        logging.debug("Scanning without applying custom policies from the platform.", exc_info=True)