Files
floci/docs
Feyikemi Ogunsanya 36a55f5060 feat(eventbridge): add Connection API actions (#1897)
* 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.
2026-08-18 09:30:25 -04:00
..
2026-03-15 17:43:56 -05:00