{% extends "base.html" %} {% block content %}

Search{% if q %} “{{ q }}”{% endif %}

{% if not q %}

Search by IP, MAC, hostname, name, vendor, kind, port, product, finding text or id.

{% endif %} {% if res.devices %}

Devices

{% for d in res.devices %}{% endfor %}
{{ 'online' if d.online else 'offline' }}{{ d.label }} {{ d.ip or '-' }}{{ d.mac or '-' }}{{ d.vendor or '' }}{% if d.kind %}{{ d.kind }}{% endif %} {{ d.description or '' }}
{% endif %} {% if res.services %}

Services

{% for s in res.services %}{% set d = devices_by_id.get(s.device_id) %}{% endfor %}
{% if d %}{{ d.label }}{% endif %}{{ s.label }}
{% endif %} {% if res.findings %}

Findings

{% for f in res.findings %}{% endfor %}
{{ f.severity.value }}{{ f.status.value }}{{ f.title }}{{ f.id }}
{% endif %} {% if q and not (res.devices or res.services or res.findings) %}

No matches.

{% endif %} {% endblock %}