def _remove_missing_resource_ids(config_records, resource_ids):
    """
    Remove resource_ids found in config_results and return any remaining resource_ids
    
    :param config_records: config compliance records
    :param resource_ids: list of resource ids
    :returns: list of resource IDs found in compliance records
    """
    resources_in_config = []

    for config_record in config_records:
        config_record_id = config_record['EvaluationResultIdentifier'][
            'EvaluationResultQualifier']['ResourceId']

        if config_record_id in resource_ids:
            resources_in_config.append(config_record_id)
    return resources_in_config