{%- import '_macros_site.html' as macros_site with context -%} {%- import 'nerd/_macros.html' as macros_nerd with context -%} {%- set content_id = get_uuid4() -%}
{{ get_icon('module-nerd') }} | {{ '{:.3f}'.format(search_result['rep']) }}

{{ macros_nerd.get_title() }} {{ get_icon('stopwatch') }}

{%- if 'rep' in search_result and search_result['rep'] %} {%- endif %} {%- if 'fmp' in search_result and search_result['fmp'] and 'general' in search_result['fmp'] and search_result['fmp']['general'] %} {%- endif %} {%- if 'hostname' in search_result and search_result['hostname'] %} {%- endif %} {%- if 'asn' in search_result and search_result['asn'] %} {%- endif %} {%- if 'geo' in search_result and search_result['geo'] and 'ctry' in search_result['geo'] and search_result['geo']['ctry'] %} {%- endif %} {%- if 'bgppref' in search_result and search_result['bgppref'] %} {%- endif %} {%- if 'ipblock' in search_result and search_result['ipblock'] %} {%- endif %} {%- if 'bl' in search_result and search_result['bl'] %} {%- endif %} {%- if 'tags' in search_result and search_result['tags'] %} {%- endif %}
{{ _('Reputation') }}: {{ '{:.3f}'.format(search_result['rep']) }}
{{ _('FMP score') }}: {{ '{:.3f}'.format(search_result['fmp']['general']) }}
{{ _('Hostname') }}: {{ search_result['hostname'] }}
{{ _('AS number') }}: {{ search_result['asn'] | join(', ') }}
{{ _('Country') }}: {{ search_result['geo']['ctry'] | upper }} {{ get_country_flag(search_result['geo']['ctry']) }}
{{ _('BGP prefix') }}: {{ search_result['bgppref'] }}
{{ _('IP block') }}: {{ search_result['ipblock'] }}
{{ _('Blacklists') }}: {% for bl in search_result['bl'] %} {{ bl }} {% endfor %}
{{ _('Tags') }}: {% for tag in search_result['tags'] %} {{ tag['n'] }} ({{ tag['c'] }}x) {% endfor %}