Files
git.stella-ops.org/offline/notifier/templates/attestation/verify-fail.webhook.template.json

18 lines
926 B
JSON

{
"templateId": "tmpl-attest-verify-fail-webhook",
"tenantId": "bootstrap",
"channelType": "Webhook",
"key": "tmpl-attest-verify-fail",
"locale": "en-US",
"schemaVersion": "1.0.0",
"renderMode": "None",
"format": "Json",
"description": "Webhook payload for attestation verification failure",
"metadata": {
"eventKind": "attestor.verify.fail",
"category": "attestation",
"contentType": "application/json"
},
"body": "{\"alertType\":\"attestation-verify-fail\",\"artifactDigest\":\"{{ event.artifactDigest }}\",\"policyName\":\"{{ event.policyName }}\",\"failureReason\":\"{{ event.failureReason }}\",\"attestationId\":{{ #if event.attestationId }}\"{{ event.attestationId }}\"{{ else }}null{{ /if }},\"signerIdentity\":{{ #if event.signerIdentity }}\"{{ event.signerIdentity }}\"{{ else }}null{{ /if }},\"eventId\":\"{{ event.eventId }}\",\"occurredAtUtc\":\"{{ event.occurredAtUtc }}\"}"
}