When I create a trigger and configure the corresponding action via AWS SNS destination, the received json doesn’t contain any message subject, that I enter in the “Message subject” field below the “Destination name”.
Message subject:
Test
Message body:
Monitor {{ctx.monitor.name}} just entered alert status. Please investigate the issue.
- Trigger: {{ctx.trigger.name}}
- Severity: {{ctx.trigger.severity}}
- Period start: {{ctx.periodStart}}
- Period end: {{ctx.periodEnd}}
Received json in AWS Lambda:
{
"Records": [
{
"EventVersion": "1.0",
"EventSubscriptionArn": "arn:aws:sns:...",
"EventSource": "aws:sns",
"Sns": {
"SignatureVersion": "1",
"Timestamp": "2019-07-10T09:26:07.631Z",
"Signature": "...",
"SigningCertUrl": "https://sns....",
"MessageId": "myMessageId",
"Message": "Monitor myMonitor just entered alert status. Please investigate the issue.\n- Trigger: MyTrigger\n- Severity: 1\n- Period start: 2019-07-10T09:11:07.586Z\n- Period end: 2019-07-10T09:26:07.586Z",
"MessageAttributes": {},
"Type": "Notification",
"UnsubscribeUrl": "https://sns...",
"TopicArn": "arn:aws:sns...",
"Subject": null
}
}
]
}
Any clue when this will be fixed?
Kind regards