{% for conf in cve.json.configurations %}

Configuration {{ loop.index }} (hide)

{% if conf.operator == "AND" %} {% endif %}
AND {% for node in conf.nodes %} {% for cpe in node.cpeMatch %} {% if loop.index == 1 and node.cpeMatch|length > 1 %} {% endif %} {% endfor %}
OR{{ cpe.criteria }}
{% endfor %}

{% endfor %}