mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* feat(eventbridge): deliver events to event-bus targets * fix(eventbridge): skip null resources when republishing to event-bus targets * fix(eventbridge): validate Detail and resolve account for bus targets readTree accepts any well-formed JSON value, so an input override producing "hello" or [1,2] passed the guard and reached the target bus as a scalar detail, with putEvents reporting success — a silent malformation rather than the intended warn-and-drop. The pass-through arm had the same hole. Both arms now share one isObject() check. Bus targets also went through the two-arg putEvents overload, which passes a null accountId, so a cross-account bus ARN resolved in the caller's account and surfaced only as a warning. Thread the ARN's account through, as SQS targets already do via the queue URL. Same-account and account-less ARNs still forward null: only that path carries the legacy-key fallback in AccountAwareStorageBackend.get(). * docs(eventbridge): document event-bus target behavior and limits * fix(eventbridge): cap bus-to-bus forwarding at one hop, matching AWS