Files
git.stella-ops.org/offline/notifier/templates/attestation/key-rotation.webhook.template.json

18 lines
845 B
JSON

{
"templateId": "tmpl-attest-key-rotation-webhook",
"tenantId": "bootstrap",
"channelType": "Webhook",
"key": "tmpl-attest-key-rotation",
"locale": "en-US",
"schemaVersion": "1.0.0",
"renderMode": "None",
"format": "Json",
"description": "Webhook payload for attestation signing key rotation",
"metadata": {
"eventKind": "attestor.key.rotation",
"category": "attestation",
"contentType": "application/json"
},
"body": "{\"alertType\":\"attestation-key-rotation\",\"keyAlias\":\"{{ event.keyAlias }}\",\"previousKeyId\":\"{{ event.previousKeyId }}\",\"newKeyId\":\"{{ event.newKeyId }}\",\"rotatedAtUtc\":\"{{ event.rotatedAtUtc }}\",\"rotatedBy\":{{ #if event.rotatedBy }}\"{{ event.rotatedBy }}\"{{ else }}null{{ /if }},\"eventId\":\"{{ event.eventId }}\",\"occurredAtUtc\":\"{{ event.occurredAtUtc }}\"}"
}