Files
git.stella-ops.org/offline/notifier/templates/attestation/transparency-anomaly.webhook.template.json

18 lines
1.0 KiB
JSON

{
"templateId": "tmpl-attest-transparency-anomaly-webhook",
"tenantId": "bootstrap",
"channelType": "Webhook",
"key": "tmpl-attest-transparency-anomaly",
"locale": "en-US",
"schemaVersion": "1.0.0",
"renderMode": "None",
"format": "Json",
"description": "Webhook payload for transparency log anomaly detection",
"metadata": {
"eventKind": "attestor.transparency.anomaly",
"category": "attestation",
"contentType": "application/json"
},
"body": "{\"alertType\":\"transparency-anomaly\",\"anomalyType\":\"{{ event.anomalyType }}\",\"logSource\":\"{{ event.logSource }}\",\"description\":\"{{ event.description }}\",\"affectedEntryUuid\":{{ #if event.affectedEntryUuid }}\"{{ event.affectedEntryUuid }}\"{{ else }}null{{ /if }},\"expectedValue\":{{ #if event.expectedValue }}\"{{ event.expectedValue }}\"{{ else }}null{{ /if }},\"actualValue\":{{ #if event.actualValue }}\"{{ event.actualValue }}\"{{ else }}null{{ /if }},\"eventId\":\"{{ event.eventId }}\",\"occurredAtUtc\":\"{{ event.occurredAtUtc }}\"}"
}