{% extends 'base.html' %} {% block title %}Recherche Qualys{% endblock %} {% block content %}
{% if api_msg %}{{ api_msg }}{% else %}{{ assets|length }} résultat(s){% endif %}
{% endif %} {% if assets %} {% if can_edit_qualys %} {% endif %}| {% endif %} | Hostname | IP | OS | Agent | Vulns | Tags | Actions |
|---|---|---|---|---|---|---|---|
| {% if qid %}{% endif %} | {% endif %}{{ hn or '-' }} | {{ ip or '-' }} | {{ (os or '-')[:30] }} | {% if agent %}{{ agent[:10] }} {% else %}N/A{% endif %} | {% set vc = vuln_map.get(ip|string, {}) if vuln_map else {} %} {% if vc and vc.total > 0 %} {% if vc.severity5 > 0 %}{{ vc.severity5 }} crit {% endif %} {% if vc.severity4 > 0 %}{{ vc.severity4 }} high {% endif %} {% if vc.severity3 > 0 %}+{{ vc.severity3 }} med{% endif %} {% elif vc is mapping %}0 {% else %}-{% endif %} | {{ (tl or '-')[:80] }} | {% if qid %} {% endif %} |