{ "title": "{{ scan.title }}", "message": "**{{ alert.severity|upper }}**: {{ alert.message }}\n\n**Scan:** {{ scan.title }}\n**Status:** {{ scan.status }}\n**Rule:** {{ rule.name }}{% if alert.ip_address %}\n**IP:** {{ alert.ip_address }}{% endif %}{% if alert.port %}\n**Port:** {{ alert.port }}{% endif %}", "priority": {% if alert.severity == 'critical' %}8{% elif alert.severity == 'warning' %}5{% else %}2{% endif %}, "extras": { "client::display": { "contentType": "text/markdown" }, "alert_id": {{ alert.id }}, "scan_id": {{ scan.id }}, "alert_type": "{{ alert.type }}" } }