msticpy/datamodel/pivot_ti_provider.py
def _get_non_ip_functions(ioc_type_supp, ti_lookup):
    """Get functions for non-IP IoC types."""
    ioc_queries = defaultdict(dict)
    for ioc in IOC_TYPES - {"ipv4", "ipv6"}:
        supporting_provs = [
            prov for prov, supp_types in ioc_type_supp.items() if ioc in supp_types
        ]
        _, func_name, func = _create_lookup_func(ti_lookup, ioc, ioc, supporting_provs)
        ioc_queries[ioc][func_name] = func
    return ioc_queries
Get functions for non-IP IoC types.
Get functions for non-IP IoC types.
Get functions for non - IP IoC types .
def _get_non_ip_functions(ioc_type_supp, ti_lookup):
    ioc_queries = defaultdict(dict)
    for ioc in IOC_TYPES - {"ipv4", "ipv6"}:
        supporting_provs = [
            prov for prov, supp_types in ioc_type_supp.items() if ioc in supp_types
        ]
        _, func_name, func = _create_lookup_func(ti_lookup, ioc, ioc, supporting_provs)
        ioc_queries[ioc][func_name] = func
    return ioc_queries
def _get_non_ip_functions ( ioc_type_supp , ti_lookup ) : ioc_queries = defaultdict ( dict ) for ioc in IOC_TYPES - { "ipv4" , "ipv6" } : supporting_provs = [ prov for prov , supp_types in ioc_type_supp . items ( ) if ioc in supp_types ] _ , func_name , func = _create_lookup_func ( ti_lookup , ioc , ioc , supporting_provs ) ioc_queries [ ioc ] [ func_name ] = func return ioc_queries
Get functions for non-IP IoC types.
Get functions for non - IP IoC types .
"""Get functions for non-IP IoC types."""
ioc_type_supp
ti_lookup