{{ host.name }} {% if host.notes %} 📝 {% endif %}
{% for source in host.sources %}
{% set tag_class = "" %}
{% if source == "inventory" %}
{% set tag_class = "source-tag-inventory" %}
{% elif source.startswith("opnsense") %}
{% set tag_class = "source-tag-opnsense" %}
{% elif source == "nmap" %}
{% set tag_class = "source-tag-nmap" %}
{% elif source == "nmap-discovery" %}
{% set tag_class = "source-tag-discovery" %}
{% endif %}
{{ source }}
{% endfor %}
IPs: {{ host.ips|join(", ") if host.ips else "—" }}
{% if host.macs %}
MACs: {{ host.macs|join(", ") }}
{% endif %}
{% if host.hostnames %}
Hostnames: {{ host.hostnames|join(", ") }}
{% endif %}
Last seen: {{ host.last_seen or "unknown" }}
{% if host.notes %}
Notes: {{ host.notes }}
{% endif %}
{% if host.expected_ports %}
Expected Ports
{% for port in host.expected_ports %}
{{ port }}
{% endfor %}
Observed Ports
{% for port in host.ports %}
{{ port.port }} {{ port.service or "" }}
{% endfor %}