{ "id": "send-security-alert", "title": "A security alert is addressed by the service and marked with the site's host; the recipients in the request are ignored", "given": { "site": "active" }, "request": { "method": "POST", "path": "/v1/send", "headers": { "authorization": "Bearer {{token}}", "idempotency-key": "{{idempotencyKey}}", "content-type": "application/json", "x-intecion-site": "{{host}}" }, "schema": "SendRequest", "body": { "product": "iapl", "productVersion": "1.17.0", "kind": "security-alert", "to": [ "attacker@example.net" ], "replyTo": "visitor@example.org", "senderName": "Kancelaria Example", "subject": "New enquiry", "text": "Hello." } }, "response": { "status": 200, "schema": "SendResponse", "body": { "ok": true } }, "then": { "mails": 1, "mail": { "to": [ "{{alertRecipient}}" ], "cc": [], "bcc": [], "subject": "[{{host}}] New enquiry" } }, "client": { "retry": false, "reEnrol": false, "status": null } }