{%- extends "_layout.html" %} {%- block content %}
{{ item['Note'] }}
{%- endif %}{{ gettext('Event severity') }}: {{ macros_site.render_event_label_severity(item, True) }} | {{ gettext('Event detected') }}: {{ babel_format_datetime(item.get_detect_time()) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - item.get_detect_time())) }}) | {{ gettext('Event stored') }}: {{ babel_format_datetime(item.get_storage_time()) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - item.get_storage_time())) }})
{{ gettext('ID') }}: | {{ gettext(item.get_id()) }} |
---|---|
{{ gettext('Detection time') }}: | {{ babel_format_datetime(item.get_detect_time()) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - item.get_detect_time())) }}) |
{{ gettext('Creation time') }}: | {{ babel_format_datetime(tmpval) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - tmpval)) }}) |
{{ gettext('Creation delay') }}: | {{ babel_format_timedelta(tmpval - item.get_detect_time()) }} |
{{ gettext('Event time') }}: | {{ babel_format_datetime(tmpval_a) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - tmpval_a)) }}) |
{{ gettext('Cease time') }}: | {{ babel_format_datetime(tmpval_b) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - tmpval_b)) }}) |
{{ gettext('Event duration') }}: | {{ babel_format_timedelta(tmpval_b - tmpval_a) }} ({{ (tmpval_b - tmpval_a) }}) |
{{ gettext('Aggregation window start time') }}: | {{ babel_format_datetime(tmpval_a) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - tmpval_a)) }}) |
{{ gettext('Aggregation window end time') }}: | {{ babel_format_datetime(tmpval_b) }} ({{ gettext('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - tmpval_b)) }}) |
{{ gettext('Aggregation window size') }}: | {{ babel_format_timedelta(tmpval_b - tmpval_a) }} ({{ (tmpval_b - tmpval_a) }}) |
{{ gettext('Storage time') }}: | {{ babel_format_datetime(item.get_storage_time()) }} ({{ gettext('%(delta)s ago', delta = 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_widget_csag_category(item.get_categories(), align_right = True, separate_dropdown = True) }} |
{{ gettext('Event severity') }}: | {%- if item.get_severity() %} {{ macros_site.render_widget_csag_severity([item.get_severity()], align_right = True) }} {%- else %} {{ gettext('-- unassigned --') }} {%- endif %} |
{{ get_icon('role-admin') }} {{ gettext('Event class') }}: | {%- if item.get_class() %} {{ item.get_class() }} {{ macros_site.render_widget_csag_class([item.get_class()], align_right = True, separate_dropdown = True, without_label = True) }} {%- else %} {{ gettext('-- unclassified --') }} {%- endif %} |
{{ gettext('Abuse groups') }}: | {{ macros_site.render_widget_csag_abuse(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) }}