{% if results.detections %}
Detections

{% for family in results.detections %} {{family}} {% endfor %}

{% endif %} {% if results.configs %}
Malware Config(s)
{% for config_block in results.configs %} {% for filepath, config in config_block.items() %} {% for key, value in config.items() %} {% if key == "raw" and value is mapping %} {% for subkey, subvalue in value.items() %} {% endfor %} {% else %} {% endif %} {% endfor %}
File {{filepath}}
{{ subkey }} {{ subvalue | malware_config }}
{{ key }} {{ value | malware_config }}
{% endfor %} {% endfor %}
{% endif %}