Tests/scripts/update_id_set.py
def process_indicator_fields(file_path):
    """
    Process a indicator fields JSON file
    Args:
        file_path: The file path from indicator field folder

    Returns:
        a list of indicator field data.
    """
    res = []
    if checked_type(file_path, [INDICATOR_FIELDS_REGEX, PACKS_INDICATOR_FIELDS_REGEX]):
        print("adding {} to id_set".format(file_path))
        res.append(get_general_data(file_path))
    return res

    Process a indicator fields JSON file
    Args:
        file_path: The file path from indicator field folder

    Returns:
        a list of indicator field data.
    
Process a indicator fields JSON file
Process a indicator fields JSON file
def process_indicator_fields(file_path):
    res = []
    if checked_type(file_path, [INDICATOR_FIELDS_REGEX, PACKS_INDICATOR_FIELDS_REGEX]):
        print("adding {} to id_set".format(file_path))
        res.append(get_general_data(file_path))
    return res
def process_indicator_fields ( file_path ) : res = [ ] if checked_type ( file_path , [ INDICATOR_FIELDS_REGEX , PACKS_INDICATOR_FIELDS_REGEX ] ) : print ( "adding {} to id_set" . format ( file_path ) ) res . append ( get_general_data ( file_path ) ) return res
Process a indicator fields JSON file
Process a indicator fields JSON file
"""
    Process a indicator fields JSON file
    Args:
        file_path: The file path from indicator field folder

    Returns:
        a list of indicator field data.
    """
a list of indicator field data.
a list of indicator field data .
file_path
The file path from indicator field folder
The file path from indicator field folder