{% extends 'base.html' %} {% block title %}Tags V3 - Gap analysis{% endblock %} {% block content %}

Gap nomenclature V3 ↔ Qualys

Catalogue V3 ← Vue Qualys
{% if not gap.ok %}
Erreur : {{ gap.msg }}
{% else %}
{{ gap.present|length }}
Présents OK
{{ gap.missing_dyn|length }}
DYN manquants (console)
{{ gap.missing_stat|length }}
STAT manquants (API)
{{ gap.mismatch|length }}
Type divergent
{{ gap.extra|length }}
Extra (hors V3)
{% if gap.missing_dyn %}

🔴 Tags DYN manquants ({{ gap.missing_dyn|length }}) — à créer MANUELLEMENT dans console Qualys

L'API Qualys ne permet pas de créer des tags dynamiques. Copie les étapes ci-dessous dans VMDR > Assets > Tags > New Tag.

{% for t in console_steps %} {% endfor %}
Tag Catégorie QQL à saisir Couleur
{{ t.name }} {{ t.category }} {{ t.qql }} {{ t.color }}
{% endif %} {% if gap.missing_stat %}

🟡 Tags STAT manquants ({{ gap.missing_stat|length }}) — créables via API

{% if can_modify %}
{% endif %}
{% if can_modify %}{% endif %} {% for t in gap.missing_stat %} {% if can_modify %} {% endif %} {% endfor %}
Tag Catégorie Description CouleurAction
{{ t.name }} {{ t.category }} {{ t.description or '-' }}
{% endif %} {% if gap.mismatch %}

⚠ Type divergent ({{ gap.mismatch|length }})

Le type (DYN/STAT) dans Qualys ne correspond pas au catalogue V3.

{% for m in gap.mismatch %} {% endfor %}
TagV3Qualys
{{ m.catalog.name }}{{ m.catalog.type }}{{ m.qualys.type }}
{% endif %}
✓ Tags V3 présents ({{ gap.present|length }}) {% for p in gap.present %} {% endfor %}
TagType
{{ p.catalog.name }}{{ p.catalog.type }}
{% if gap.extra %}
Extras Qualys (non-V3) ({{ gap.extra|length }})
{% for t in gap.extra %}{{ t.name }}{% endfor %}
{% endif %} {% endif %} {% endblock %}