Upgrading to DefectDojo Version 2.58.x | DefectDojo Documentation

Upgrading to DefectDojo Version 2.58.x

Notification .tpl templates relocated

The notification domain has been consolidated under a new dojo/notifications/ package, and the 62 channel .tpl templates that drive alert, mail, MS Teams, Slack, and webhook notifications have moved on disk. The Django template lookup name (e.g. notifications/mail/scan_added.tpl) is unchanged, so most customizations keep working without any edits — but operators who override .tpl files by mounting them into the source tree need to update their paths.

What moved

The channel templates under alert/, mail/, msteams/, slack/, webhooks/, and webhooks_summary/ have been relocated:

Old on-disk location New on-disk location
dojo/templates/notifications/{channel}/{event}.tpl dojo/notifications/templates/notifications/{channel}/{event}.tpl

For example, dojo/templates/notifications/mail/scan_added.tpl now lives at dojo/notifications/templates/notifications/mail/scan_added.tpl. A new TEMPLATES["DIRS"] entry pointing at dojo/notifications/templates/ is registered automatically, so the lookup path used by render_to_string() (e.g. notifications/slack/sla_breach.tpl) resolves exactly as before.

Required actions

For more information, check the Release Notes.