mirror of
https://github.com/floci-io/floci.git
synced 2026-11-30 17:05:21 -05:00
The webhook event sources #9321 added had a URL that answered nothing. A POST to it is now checked in the order AWS checks it: the method, the URL's host-bound token, the body size, the source's credential (a static token, Basic or an HMAC signature, read from its Secrets Manager secret and compared in constant time) and then the body, which must be one JSON value. A request that passes is published as an event on the source's bus with its listed headers as Metadata, and CONTENT_BASED deduplication drops a repeat within five minutes.