18 lines
1.4 KiB
JSON
18 lines
1.4 KiB
JSON
{
|
|
"templateId": "tmpl-risk-profile-state-email",
|
|
"tenantId": "bootstrap",
|
|
"channelType": "Email",
|
|
"key": "tmpl-risk-profile-state",
|
|
"locale": "en-US",
|
|
"schemaVersion": "1.0.0",
|
|
"renderMode": "Html",
|
|
"format": "Html",
|
|
"description": "Email notification for risk profile state changes",
|
|
"metadata": {
|
|
"eventKind": "risk.profile.published",
|
|
"category": "risk",
|
|
"subject": "[Notify] Risk profile update: {{ event.profileName }}"
|
|
},
|
|
"body": "<!DOCTYPE html>\n<html>\n<head><style>body{font-family:sans-serif;line-height:1.5;}.section{margin:1em 0;padding:1em;background:#f8f9fa;border-radius:4px;}.label{font-weight:bold;color:#666;}.mono{font-family:monospace;background:#e9ecef;padding:2px 6px;border-radius:3px;}</style></head>\n<body>\n<h2>Risk Profile Update</h2>\n<div class=\"section\">\n<p><span class=\"label\">Profile:</span> <span class=\"mono\">{{ event.profileName }}</span></p>\n<p><span class=\"label\">State:</span> {{ event.state }}</p>\n<p><span class=\"label\">Owner:</span> {{ event.owner }}</p>\n<p><span class=\"label\">Summary:</span> {{ event.summary }}</p>\n{{ #if event.policyId }}<p><span class=\"label\">Policy:</span> {{ event.policyId }} (v{{ event.policyVersion }})</p>{{ /if }}\n</div>\n<hr>\n<p style=\"font-size:0.85em;color:#666;\">Event ID: {{ event.eventId }} | Occurred: {{ event.occurredAtUtc }}</p>\n</body>\n</html>"
|
|
}
|