{% if presenter.text_only %}

{{ presenter.body|safe }}

{% if presenter.additional_text %}

{{ presenter.additional_text|safe }}

{% endif %} {% else %}

{{ presenter.body }}

{% if presenter.additional_text %}

{{ presenter.additional_text|safe }}

{% endif %} {% macro jira_tickets_table(tickets) -%} {% for item in tickets %} {% endfor %}
JIRA ID PRIORITY STATUS OPEN DATE DESCRIPTION ASSIGNEE
{{ item.jira_id }} {{ item.priority }} {{ item.status }} {{ item.open_date }} {{ item.description }} {{ item.assignee }}
{%- endmacro %} {% if presenter.new_jira_tickets %}

Here’s the list of new security issues:

{{ jira_tickets_table(presenter.new_jira_tickets) }} {% else %}

No new security issues bugs found.

{% endif %} {% if presenter.existing_jira_tickets %}

Here’s the list of existing security issues:

{{ jira_tickets_table(presenter.existing_jira_tickets) }} {% endif %} {% if presenter.errors %}

Warning: errors occurred, scan results may be incomplete.

{% for item in presenter.errors %} {% endfor %}
TOOL ERROR
{{ item.tool }} {{ item.title }}
{% endif %} {% endif %}