microsoft / msticpy

Microsoft Threat Intelligence Security Tools
Other
1.72k stars 310 forks source link

What happened to msticpy.iptools? #769

Closed mathurin68 closed 1 month ago

mathurin68 commented 2 months ago

Referencing here https://msticpy.readthedocs.io/en/latest/data_acquisition/IPWhois.html

The below gives me ModuleNotFoundError: No module named 'msticpy.iptools'

>>> from msticpy.iptools import ip_whois
>>> ip_whois("65.55.44.109")

Thanks!!

ianhelle commented 1 month ago

Oh. I wonder if that is a doc error or that we've changed something. These functions are still there. The source is msticpy.context.ip_utlils

from msticpy.context.ip_utils import ip_whois, ....

Alternatively you can use the same function via the pivot functions features

Ip.whois("123.1.2.5")
ianhelle commented 1 month ago

I'll update the docs