def remove_event_info(process_details):
    """Helper function to remove the event info from the process details"""
    TO_DELETE_FIELDS = ['document_guid', 'enriched', 'enriched_event_type',
                        'event_type', 'backend_timestamp', 'device_timestamp',
                        'ingress_time', 'netconn_count', 'event_threat_score',
                        'regmod_count', 'filemod_count']
    for key in process_details.copy():
        if key in TO_DELETE_FIELDS:
            process_details.pop(key)
    return process_details