{% extends 'base.html' %} {% block title %}Dashboard{% endblock %} {% block content %}

Dashboard

{{ stats.total_servers }}
Serveurs
{{ stats.patchable }}
Patchables SecOps
{{ stats.linux }} / {{ stats.windows }}
Linux / Windows
{{ stats.qualys_tags }}
Tags Qualys
{{ stats.eol }}
EOL
{% if patch_stats %}

Patching 2026

{{ patch_stats.audited }}
Audites
{{ patch_stats.patched_2026 }}
Patches 2026
{{ patch_stats.patched_once }}
1+ fois
{{ patch_stats.patched_twice }}
2+ fois
{{ patch_stats.patched_thrice }}
3+ fois
{{ patch_stats.patched_2025_only }}
2025 seul
{{ patch_stats.never_patched }}
Jamais
{{ patch_stats.needs_reboot }}
Reboot
{% set pct = (patch_stats.patched_2026 / patch_stats.audited * 100)|int if patch_stats.audited > 0 else 0 %}
Couverture patching 2026 {{ pct }}%
{% if patch_weekly %}
Serveurs patches par semaine
{% set max_cnt = patch_weekly|map(attribute='cnt')|max %} {% for w in patch_weekly %}
{{ w.cnt }}
{{ w.week }}
{% endfor %}
{% endif %}
Par domaine
{% for d in patch_by_domain %} {% set pct_d = (d.patched / d.total * 100)|int if d.total > 0 else 0 %} {% endfor %}
DomaineTotalPatche2x%
{{ d.domain }} {{ d.total }} {{ d.patched }} {{ d.patched_twice }} {{ pct_d }}%
Par environnement
{% for e in patch_by_env %} {% set pct_e = (e.patched / e.total * 100)|int if e.total > 0 else 0 %} {% endfor %}
EnvTotalPatche%
{{ e.env }} {{ e.total }} {{ e.patched }} {{ pct_e }}%
Par zone reseau
{% for z in patch_by_zone %} {% set pct_z = (z.patched / z.total * 100)|int if z.total > 0 else 0 %} {% endfor %}
ZoneTotalPatcheJamais%
{{ z.zone }} {{ z.total }} {{ z.patched }} {{ z.never }} {{ pct_z }}%
{% endif %}

Inventaire par domaine

{% for d in domains %} {% endfor %}
DomaineTotalActifsLinuxWindows
{{ d.name }} {{ d.total }} {{ d.actifs }} {{ d.linux }} {{ d.windows }}

Par tier

{% for t in tiers %}
{{ t[1] }}
{{ t[0] }}
{% endfor %}

Quick stats

Decommissionnes{{ stats.decom }}
EOL{{ stats.eol }}
Assets Qualys{{ stats.qualys_assets }}
Tags Qualys{{ stats.qualys_tags }}
{% endblock %}