{% if posture.total_projects > 0 %}
{# Aggregate Score #}
{% if posture.aggregate_score is not none %} {{ render_donut_svg(posture.aggregate_score, 80) | safe }} {% else %}
No scans yet
{% endif %}
{# Severity Counts #}
{{ posture.total_critical }} Critical {{ posture.total_high }} High {{ posture.total_medium }} Medium {{ posture.total_low }} Low
{# Drift Events 24h #}
{{ posture.drift_events_24h }}
Drift 24h
{# Worst Project #} {% if posture.worst_project_label %}
{{ posture.worst_project_label }}
{% if posture.worst_project_score is not none %}{{ posture.worst_project_score }}%{% endif %} worst
{% endif %} {# Trend Arrow #}
{% if posture.score_trend == "improving" %} {% elif posture.score_trend == "declining" %} {% else %} {% endif %}
Trend
{% endif %}