{% macro taxonomy_table(tree_uuid, categories_info, add_category) %}
Name | Description | Machinetag | {% if add_category %}Click to add category | {% else %}Click to remove category | {% endif %}
---|---|---|---|---|
{{ val[0].name }} | {% if val|length == 3 %} {% if val[2].description %} {{ val[2].description }} {% elif val[2].expanded %} {{ val[2].expanded }} {%endif%} {% elif val[1].description %} {{ val[1].description }} {% else %} {{ val[1].predicate }} {%endif%} | {{ mt }} | ||
{{ mt }} |
The response sould be considered as {% if details[1] is mapping and details[1].get('tag') %} {{ ', '.join(details[1]['tag']) }} {% else %} phishing {%endif%} {% if details[1] is mapping and details[1].get('target') %} and is targeting the following domain(s): {{ ', '.join(details[1]['target']) }} {% else %} unless it is served by the following domain(s): {{ ', '.join(details[1]) }} {%endif%}
{%endif%} {%endif%} {% endmacro %} {% macro indexed_cookies(header_text, button_text, cookies) %} {% if cookies %}