{% from "macros/utils/cell_ti_status.html" import cell_ti_status %} {% macro ip_address_info(ip_address, ip_data) %}
Field | Value |
---|---|
IP | {{ ip_data.get('ip', 'N/A') }} |
City | {{ ip_data.get('city', 'N/A') }} |
Postal address | {{ ip_data.get('postal', 'N/A') }} |
Region | {{ ip_data.get('region', 'N/A') }} ({{ ip_data.get('region_code', 'N/A') }}) |
Country | {{ ip_data.get('country_name', 'N/A') }} ({{ ip_data.get('emoji_flag', 'N/A') }}) |
Continent | {{ ip_data.get('continent_name', 'N/A') }} |
Latitude & Longitude |
{{ ip_data.get('latitude', 'N/A') }},{{ ip_data.get('longitude', 'N/A') }}
(open in Google Maps) |
Field | Value |
---|---|
blocklists | {{ ip_data.get('threat', {}).get('blocklists', 'N/A') }} |
is_anonymous | {{ cell_ti_status(ip_data, 'is_anonymous')}} |
is_bogon | {{ cell_ti_status(ip_data, 'is_bogon')}} |
is_datacenter | {{ cell_ti_status(ip_data, 'is_datacenter')}} |
is_icloud_relay | {{ cell_ti_status(ip_data, 'is_icloud_relay')}} |
is_known_abuser | {{ cell_ti_status(ip_data, 'is_known_abuser')}} |
is_known_attacker | {{ cell_ti_status(ip_data, 'is_known_attacker')}} |
is_proxy | {{ cell_ti_status(ip_data, 'is_proxy')}} |
is_threat | {{ cell_ti_status(ip_data, 'is_threat')}} |
is_tor | {{ cell_ti_status(ip_data, 'is_tor')}} |
Field | Value |
---|---|
ASN | {{ ip_data.get('asn', {}).get('name', 'N/A') }} ({{ ip_data.get('asn', {}).get('asn', 'N/A') }}) |
ISP Domain | {{ ip_data.get('asn', {}).get('domain', 'N/A') }} |
Time Zone | {{ ip_data.get('time_zone', {}).get('name', 'N/A') }} ({{ ip_data.get('time_zone', {}).get('current_time', 'N/A') }}) |
Currency | {{ ip_data.get('currency', {}).get('name', 'N/A') }} ({{ ip_data.get('currency', {}).get('symbol', 'N/A') }}) |
Language | {{ ip_data.get('languages', [{}])[0].get('name', 'N/A') }} |