From d5f8925ae9d9f8955c4de4d5a4df480e28252c3c Mon Sep 17 00:00:00 2001 From: kiblik <5609770+kiblik@users.noreply.github.com> Date: Fri, 21 Jun 2024 23:12:35 +0200 Subject: [PATCH] feat(email notif): Scan_added - put findings to `
` (#10253) --- dojo/templates/notifications/mail/scan_added.tpl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/dojo/templates/notifications/mail/scan_added.tpl b/dojo/templates/notifications/mail/scan_added.tpl index ce09eecd4ca..513b24818db 100644 --- a/dojo/templates/notifications/mail/scan_added.tpl +++ b/dojo/templates/notifications/mail/scan_added.tpl @@ -16,40 +16,48 @@ {% blocktranslate %}{{ finding_count }} findings have been updated for while a scan was uploaded{% endblocktranslate %}: {{product}} / {{ engagement.name }} / {{ test }}

- {% blocktranslate %}New findings{% endblocktranslate %}:
+
+ {% blocktranslate %}New findings{% endblocktranslate %} ({{ findings_new | length }})
{% for finding in findings_new %} {% url 'view_finding' finding.id as finding_url %} {{ finding.title }} ({{ finding.severity }})
{% empty %} {% trans "None" %}
{% endfor %} +

- {% blocktranslate %}Reactivated findings{% endblocktranslate %}:
+

+ {% blocktranslate %}Reactivated findings{% endblocktranslate %} ({{ findings_reactivated | length }})
{% for finding in findings_reactivated %} {% url 'view_finding' finding.id as finding_url %} {{ finding.title }} ({{ finding.severity }})
{% empty %} {% trans "None" %}
{% endfor %} +

- {% blocktranslate %}Closed findings{% endblocktranslate %}:
+

+ {% blocktranslate %}Closed findings{% endblocktranslate %} ({{ findings_mitigated | length }})
{% for finding in findings_mitigated %} {% url 'view_finding' finding.id as finding_url %} {{ finding.title }} ({{ finding.severity }})
{% empty %} {% trans "None" %}
{% endfor %} +

- {% blocktranslate %}Untouched findings{% endblocktranslate %}:
+

+ {% blocktranslate %}Untouched findings{% endblocktranslate %} ({{ findings_untouched | length }})
{% for finding in findings_untouched %} {% url 'view_finding' finding.id as finding_url %} {{ finding.title }} ({{ finding.severity }})
{% empty %} {% trans "None" %}
{% endfor %} +



{% trans "Kind regards" %},