{% set det = namespace(n=0, t=0) %}
{% for r in report.results %}
{% if r.total and r.detail and r.detail.get('engines') %}
{% set det.n = det.n + r.detections %}{% set det.t = det.t + r.total %}
{% endif %}
{% endfor %}
{% if det.t %}
{{ det.n }}/{{ det.t }}engine detections
{% endif %}
Security vendors & feeds
{% if rep %}
Source
Verdict
Engines
Detail
{% for r in rep %}
{{ r.source }}
{{ verdict_label.get(r.verdict, r.verdict) }}
{% if r.total and r.detail and r.detail.get('engines') %}{{ r.detections }}/{{ r.total }}{% else %}–{% endif %}
{{ r.note }}
{% endfor %}
{% else %}
No reputation source answered for this indicator.
{% endif %}
Context & intelligence
{% if intel %}
Source
Type
Detail
{% for r in intel %}
{{ r.source }}
{{ r.category }}
{{ r.note }}
{% endfor %}
{% else %}
No enrichment available for this indicator type.
{% endif %}
Details
Type
{{ indicator.label }}
Normalised
{{ indicator.value }}
{% if indicator.host %}
Host
{{ indicator.host }}
{% endif %}
{% if indicator.domain and indicator.domain != indicator.value %}
Registrable domain
{{ indicator.domain }}
{% endif %}
{% if indicator.path %}
Path
{{ indicator.path }}
{% endif %}
Score
{{ report.score }}
Flagged by
{{ report.results|selectattr('verdict', 'in', ['malicious','suspicious'])|map(attribute='source')|join(', ') or '–' }}