{%- extends "_layout.html" %} {%- block content %} {%- set ads_limits = get_limit_counter() %}
{{ item['Note'] }}
{%- endif %}{{ _('ID') }}: | {{ _(item.get_id()) }} |
---|---|
{{ _('Detection time') }}: | {{ babel_format_datetime(item.get_detect_time()) }} ({{ macros_site.render_info_timeinterval(item.get_detect_time(), current_datetime_utc) }}) |
{{ _('Creation time') }}: | {{ babel_format_datetime(tmpval) }} ({{ macros_site.render_info_timeinterval(tmpval, current_datetime_utc) }}) |
{{ _('Creation delay') }}: | {{ babel_format_timedelta(tmpval - item.get_detect_time()) }} |
{{ _('Event time') }}: | {{ babel_format_datetime(tmpval_a) }} ({{ macros_site.render_info_timeinterval(tmpval_a, current_datetime_utc) }}) |
{{ _('Cease time') }}: | {{ babel_format_datetime(tmpval_b) }} ({{ macros_site.render_info_timeinterval(tmpval_b, current_datetime_utc) }}) |
{{ _('Event duration') }}: | {{ babel_format_timedelta(tmpval_b - tmpval_a) }} ({{ (tmpval_b - tmpval_a) }}) |
{{ _('Aggregation window start time') }}: | {{ babel_format_datetime(tmpval_a) }} ({{ macros_site.render_info_timeinterval(tmpval_a, current_datetime_utc) }}) |
{{ _('Aggregation window end time') }}: | {{ babel_format_datetime(tmpval_b) }} ({{ macros_site.render_info_timeinterval(tmpval_b, current_datetime_utc) }}) |
{{ _('Aggregation window size') }}: | {{ babel_format_timedelta(tmpval_b - tmpval_a) }} ({{ (tmpval_b - tmpval_a) }}) |
{{ _('Storage time') }}: | {{ babel_format_datetime(item.get_storage_time()) }} ({{ macros_site.render_info_timeinterval(item.get_storage_time(), current_datetime_utc) }}) |
{{ _('Storage delay') }}: | {{ babel_format_timedelta(item.get_storage_time() - item.get_detect_time()) }} |
{{ _('Categories') }}: | {{ macros_site.render_widget_csag_category(item.get_categories(), align_right = True, separate_dropdown = True) }} |
{{ _('Event severity') }}: | {%- if item.get_severity() %} {{ macros_site.render_widget_csag_severity([item.get_severity()], align_right = True) }} {%- else %} {{ _('-- unassigned --') }} {%- endif %} |
{{ get_icon('role-admin') }} {{ _('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 %} {{ _('-- unclassified --') }} {%- endif %} |
{{ _('Abuse groups') }}: | {{ macros_site.render_widget_csag_abuse(item.get_abuses(), align_right = True, separate_dropdown = True) }} |
{{ _('Source countries') }}: | {%- for subitem in item.get_countries_src() %} {{ subitem | upper }} {{ get_country_flag(subitem) }}{% if not loop.last %} | {% endif %} {%- endfor %} |
{{ _('Source autonomous systems (ASNs)') }}: | {%- for subitem in item.get_asns_src() %} {{ subitem | upper }} {% if not loop.last %} | {% endif %} {%- endfor %} |
{{ _('IP4') }}: |
{%- for itemaddr in subitem['IP4'] %}
{%- if loop.index < search_widget_item_limit -%}
{{ macros_site.render_widget_csag_address(
[itemaddr],
separate_dropdown = True
) }}
{%- if ads_limits.count_and_check('{}.{}'.format(node_type[0], 'IP4')) %}
{%- else %}
{%- elif loop.index0 == search_widget_item_limit %}
({{ _('%(count)s more', count = loop.length - loop.index0) }})
{%- endif %}
{%- endfor %}
{{ get_icon('action-reload') }}
{%- endif %}
|
---|---|
{{ _('IP6') }}: |
{%- for itemaddr in subitem['IP6'] %}
{%- if loop.index < search_widget_item_limit -%}
{{ macros_site.render_widget_csag_address(
[itemaddr],
separate_dropdown = True
) }}
{%- if ads_limits.count_and_check('{}.{}'.format(node_type[0], 'IP6')) %}
{%- else %}
{%- elif loop.index0 == search_widget_item_limit %}
({{ _('%(count)s more', count = loop.length - loop.index0) }})
{%- endif %}
{%- endfor %}
{{ get_icon('action-reload') }}
{%- endif %}
|
{{ _('Port') }}: |
{{ macros_site.render_widget_csag_port(subitem['Port'], separate_dropdown = True, item_limit = search_widget_item_limit) }}
|
{{ _('Proto') }}: |
{{ macros_site.render_widget_csag_protocol(subitem['Proto'], separate_dropdown = True, item_limit = search_widget_item_limit) }}
|
{{ _('Type') }}: |
{{ macros_site.render_widget_csag_hosttype(subitem['Type'], separate_dropdown = True) }}
|
{{ _('Name') }}: | {% if loop.first %}{{ macros_site.render_widget_csag_detector([subitem['Name']], separate_dropdown = True) }}{% else %}{{ subitem['Name'] }}{%- endif %} |
---|---|
{{ _('Software') }}: | {{ subitem['SW'] | join(', ') }} |
{{ _('Type') }}: | {{ macros_site.render_widget_csag_detectortype(subitem['Type'], separate_dropdown = True) }} |
{{ json_to_yaml(item.to_json(indent = 4, sort_keys = True)) }}
{{ item.to_json(indent = 4, sort_keys = True) }}