{%- extends "_layout.html" %} {%- block content %}
{{ item['Note'] }}
{%- endif %}{{ gettext('Event detected:') }} {{ babel_format_datetime(item.get_detect_time()) }} ({{ gettext('before') }} {{ babel_format_timedelta(current_datetime_utc - item.get_detect_time()) }}) | {{ gettext('Event stored:') }} {{ babel_format_datetime(item.get_storage_time()) }} ({{ gettext('before') }} {{ babel_format_timedelta(current_datetime_utc - item.get_storage_time()) }})
{{ gettext('Event severity:') }} {{ macros_site.render_event_label_severity(item, True) }} | {{ gettext('Event class:') }} {% if item.get_class() %}{{ item.get_class() }}{% else %}{{ gettext('-- unclassified --') }}{% endif %}
{{ gettext('ID:') }} | {{ gettext(item.get_id()) }} |
---|---|
{{ gettext('Detection time:') }} | {{ babel_format_datetime(item.get_detect_time()) }} ({{ gettext('before') }} {{ babel_format_timedelta(current_datetime_utc - item.get_detect_time()) }}) |
{{ gettext('Creation time:') }} | {{ babel_format_datetime(tmpval) }} ({{ gettext('before') }} {{ babel_format_timedelta(current_datetime_utc - tmpval) }}) |
{{ gettext('Creation delay:') }} | {{ babel_format_timedelta(tmpval - item.get_detect_time()) }} |
{{ gettext('Storage time:') }} | {{ babel_format_datetime(item.get_storage_time()) }} ({{ gettext('before') }} {{ babel_format_timedelta(current_datetime_utc - item.get_storage_time()) }}) |
{{ gettext('Storage delay:') }} | {{ babel_format_timedelta(item.get_storage_time() - item.get_detect_time()) }} |
{{ gettext('Categories:') }} | {{ macros_site.render_event_search_widget_category(item.get_categories(), align_right = True, separate_dropdown = True) }} |
{{ gettext('Event severity:') }} | {%- if item.get_severity() %} {{ macros_site.render_event_search_widget_severity([item.get_severity()], align_right = True) }} {%- else %} {{ gettext('-- unassigned --') }} {%- endif %} |
{{ gettext('Event class:') }} | {%- if item.get_class() %} {{ item.get_class() }} {{ macros_site.render_event_search_widget_class([item.get_class()], align_right = True, separate_dropdown = True, without_label = True) }} {%- else %} {{ gettext('-- unclassified --') }} {%- endif %} |
{{ gettext('Abuse groups:') }} | {{ macros_site.render_event_search_widget_group(item.get_abuses(), align_right = True, separate_dropdown = True) }} |
{{ gettext('Source countries:') }} | {%- for subitem in item.get_countries_src() %} {{ subitem | upper }} {{ get_country_flag(subitem) }}{% if not loop.last %} | {% endif %} {%- endfor %} |
{{ gettext('Source autonomous systems (ASNs):') }} | {%- for subitem in item.get_asns_src() %} {{ subitem | upper }} {% if not loop.last %} | {% endif %} {%- endfor %} |
{{ item.to_json(indent = 4, sort_keys = True) }}