{% extends "base.html" %} {% block title %}Risk Dashboard{% endblock %} {% block content %}
Risk Dashboard Anomaly Detection
{% if not scored %}
No evidence items found. Upload evidence to see risk scores.
{% else %}
{% for item in scored %} {% set r = item.report %} {% set ev = item.evidence %} {% set color_map = {'LOW': 'success', 'MEDIUM': 'warning', 'HIGH': 'danger', 'CRITICAL': 'dark'} %} {% endfor %}
Rank Evidence Case Risk Level Score Interactions Actions
{{ loop.index }} #{{ ev.id }} - {{ ev.title }} #{{ ev.case_id }} {{ r.risk_level }} {% set pct = (r.final_score * 100) | int %}
{{ '%.3f' | format(r.final_score) }}
{% if r.interactions %} {{ r.interactions | length }} interaction(s) {% else %} - {% endif %} Full Report
{% endif %}
{% endblock %}