Files
git.stella-ops.org/offline/notifier/templates/attestation/expiry-warning.email.template.json

18 lines
1.6 KiB
JSON

{
"templateId": "tmpl-attest-expiry-warning-email",
"tenantId": "bootstrap",
"channelType": "Email",
"key": "tmpl-attest-expiry-warning",
"locale": "en-US",
"schemaVersion": "1.0.0",
"renderMode": "Html",
"format": "Html",
"description": "Email notification for attestation expiry warning",
"metadata": {
"eventKind": "attestor.expiry.warning",
"category": "attestation",
"subject": "[WARNING] Attestation Expiring Soon: {{ event.attestationId }}"
},
"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;}.warning{color:#ffc107;}</style></head>\n<body>\n<h2 class=\"warning\">Attestation Expiry Warning</h2>\n<div class=\"section\">\n<p><span class=\"label\">Attestation ID:</span> <span class=\"mono\">{{ event.attestationId }}</span></p>\n<p><span class=\"label\">Artifact Digest:</span> <span class=\"mono\">{{ event.artifactDigest }}</span></p>\n<p><span class=\"label\">Expires At (UTC):</span> {{ event.expiresAtUtc }}</p>\n<p><span class=\"label\">Days Until Expiry:</span> {{ event.daysUntilExpiry }}</p>\n</div>\n{{ #if event.signerIdentity }}<div class=\"section\">\n<p><span class=\"label\">Signer:</span> <span class=\"mono\">{{ event.signerIdentity }}</span></p>\n</div>{{ /if }}\n<hr>\n<p style=\"font-size:0.85em;color:#666;\">Event ID: {{ event.eventId }} | Occurred: {{ event.occurredAtUtc }}</p>\n</body>\n</html>"
}