def get_pattern_and_values(embedded_fields_data):
    """Parse Embedded array and return data for pattern type and value.

    Args:
        embedded_fields_data (list): Embedded Fields Data

    Returns:
        list: list of dictionary with value for pattern type and it's values.
    """
    final_results = []
    for embedded in embedded_fields_data:
        # check for URLs:
        final_results.extend(get_urls(embedded))
        # check for ips:
        final_results.extend(get_ip_addresses(embedded))
        # check for File Hashes
        final_results.extend(get_file_hashes(embedded))
    return final_results
Parse Embedded array and return data for pattern type and value.

    Args:
        embedded_fields_data (list): Embedded Fields Data

    Returns:
        list: list of dictionary with value for pattern type and it's values.
    
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseThreatIntelligence/dataminr_pulse_to_threat_intelligence_mapping.py