mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* feat(eventbridge): add Connection model and state enum * feat(eventbridge): wire connection storage through EventBridgeService * feat(eventbridge): implement CreateConnection * feat(eventbridge): implement DescribeConnection and ListConnections * feat(eventbridge): implement UpdateConnection and DeleteConnection * feat(eventbridge): build connection responses with credential sanitization * feat(eventbridge): dispatch Connection actions in EventBridgeHandler * test(eventbridge): add Connection lifecycle integration test * test(eventbridge): cover connection secret stripping and validation errors * docs(eventbridge): document Connection actions * fix(eventbridge): register ConnectionState for reflection and validate auth type changes * chore: remove stray PR body helper file * fix(eventbridge): default IsValueSecret to true when omitted on connection parameters IsValueSecret is optional on Connection header/query/body parameters, and AWS treats an omitted flag as secret. Reading it with asBoolean(false) inverted that default, so a parameter that simply didn't set the flag came back in cleartext from DescribeConnection instead of masked. Reported by @abanna on PR #1897. * test(eventbridge): cover DescribeConnection masking when IsValueSecret is omitted Reproduces the leak abanna reported on PR #1897: a header parameter that doesn't set IsValueSecret must still come back masked, not in cleartext. Fails against the pre-fix asBoolean(false) default.