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

Tags Qualys ({{ stats.total }} — {{ stats.dyn }} DYN / {{ stats.stat }} STAT)

{% if can_edit_qualys %}
{% endif %} Export CSV
{% if sync_running %}
⏳ Synchronisation Qualys en cours Le bouton Resync API est désactivé. Patiente la fin du sync agents.
{% endif %} {% if msg %}
{% if msg == 'resync_ok' %}Tags resynchronisés depuis l'API Qualys.{% elif msg == 'busy' %}⏳ Une synchronisation Qualys est déjà en cours (agents). Patiente quelques minutes puis réessaie.{% elif msg and msg.startswith('resync_ko') %}Erreur de synchronisation : {{ msg[10:].replace('+', ' ') if msg|length > 10 else 'API Qualys indisponible' }}{% elif msg == 'created' %}Tag créé.{% elif msg == 'create_error' %}Erreur création.{% elif msg == 'deleted' %}Tag supprimé.{% elif msg == 'delete_error' %}Erreur suppression.{% endif %}
{% endif %} {% if can_edit_qualys %}
{% endif %}
Tous ({{ stats.total }}) DYN ({{ stats.dyn }}) STAT ({{ stats.stat }})
{% if tag_type %}{% endif %}
{% if can_edit_qualys %}{% endif %} {% for t in tags %} {% if can_edit_qualys %} {% endif %} {% endfor %}
Nom actuel Type Nom V3 Type V3 ID Qualys AssetsAction
{{ t.name }} {{ 'DYN' if t.is_dynamic else 'STAT' }} {{ t.v3_name or '-' }} {% if t.v3_type %}{{ t.v3_type }}{% else %}-{% endif %} {{ t.qualys_tag_id }} {% if t.asset_count > 0 %} {{ t.asset_count }} {% else %}0{% endif %} {% if not t.is_dynamic %}
{% else %}Auto{% endif %}
Légende V3 : Les tags surlignés ont un nom V3 différent du nom actuel (migration à prévoir). Vert = nouveau nom V3 proposé. Cliquez sur le nombre d'assets pour voir les serveurs associés.
{% endblock %}