18 lines
1.6 KiB
JSON
18 lines
1.6 KiB
JSON
{
|
|
"templateId": "tmpl-attest-verify-fail-email",
|
|
"tenantId": "bootstrap",
|
|
"channelType": "Email",
|
|
"key": "tmpl-attest-verify-fail",
|
|
"locale": "en-US",
|
|
"schemaVersion": "1.0.0",
|
|
"renderMode": "Html",
|
|
"format": "Html",
|
|
"description": "Email notification for attestation verification failure",
|
|
"metadata": {
|
|
"eventKind": "attestor.verify.fail",
|
|
"category": "attestation",
|
|
"subject": "[ALERT] Attestation Verification Failed: {{ event.artifactDigest }}"
|
|
},
|
|
"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;}.alert{color:#dc3545;}</style></head>\n<body>\n<h2 class=\"alert\">Attestation Verification Failed</h2>\n<div class=\"section\">\n<p><span class=\"label\">Artifact Digest:</span> <span class=\"mono\">{{ event.artifactDigest }}</span></p>\n<p><span class=\"label\">Policy:</span> {{ event.policyName }}</p>\n<p><span class=\"label\">Failure Reason:</span> {{ event.failureReason }}</p>\n</div>\n<div class=\"section\">\n{{ #if event.attestationId }}<p><span class=\"label\">Attestation ID:</span> <span class=\"mono\">{{ event.attestationId }}</span></p>{{ /if }}\n{{ #if event.signerIdentity }}<p><span class=\"label\">Signer:</span> <span class=\"mono\">{{ event.signerIdentity }}</span></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>"
|
|
}
|