{% extends "dsoc_canvas/base.html" %} {% block title %}Mitigations — DSOC{% endblock %} {% block content %}
| # | Target Prefix | Type | Status | Attack Type | Peak (Gbps) | Started By | Started At | Ended At | |
|---|---|---|---|---|---|---|---|---|---|
| {{ loop.index }} | {{ m.target_prefix or '—' }} |
{% set mt = m.mitigation_type | lower if m.mitigation_type else '' %}
{% if 'rtbh' in mt %}
rtbh
{% elif 'flowspec' in mt or 'flow' in mt %}
flowspec
{% elif 'scrub' in mt %}
scrubbing
{% else %}
{{ m.mitigation_type or '—' }}
{% endif %}
|
{% set st = m.status | lower %} {% if st == 'active' %} active {% elif st == 'completed' %} completed {% elif st == 'failed' %} failed {% else %} {{ m.status }} {% endif %} | {{ m.attack_type or '—' }} | {% set peak = m.peak_traffic_gbps | float %} {{ peak }} | {{ m.started_by or '—' }} | {{ m.started_at | ts }} | {{ m.ended_at | ts }} | {% if m.status | lower == 'active' %} {% endif %} |
| No mitigation records found. | |||||||||