mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* fix: return XML error for missing action and add volume action fallbacks * fix(eventbridge): sync EventBridge tags to ResourceGroupsTaggingService EventBridge stored tags on rules, buses, and archives in its own stores but never propagated them to the central ResourceGroupsTaggingService. This caused GetResources with --resource-type-filters events:rule to return an empty list. Inject ResourceGroupsTaggingService into EventBridgeService (following the existing GlueService pattern) and sync tags during putRule, tagResource, untagResource, and deleteRule operations. Closes #1343 * fix(apigateway): add support for SQS path-style integration URIs - Enhanced AwsServiceRouter to parse both action/ and path/ style integration URIs - Updated ApiGatewayExecuteController to handle form-urlencoded SQS requests - Added comprehensive integration tests covering end-to-end functionality - Maintains backward compatibility with existing action/ style integrations Fixes issue with API Gateway AWS integrations failing when using path-style SQS ARNs like arn:aws:apigateway:region:sqs:path/account/queue instead of action-style URIs. * fix(cognito): implement token revocation for AdminUserGlobalSignOut Previously AdminUserGlobalSignOut was a stub that only logged a message and did not invalidate any tokens, allowing previously issued refresh and access tokens to remain fully usable after a global sign-out. Changes: - Add RevokedTokenInfo model to track revoked token state - Add revokedTokenStore (StorageBackend) to CognitoService - Add jti and origin_jti claims to all generated JWT tokens - Implement revokeAllUserTokens() using a global revocation record keyed by pool + username, checked at every token validation point - Add validateRefreshTokenNotRevoked() accessible from the auth flow handler - Add validateUserNotGloballySignedOut() checked in getUser, changePassword, updateUserAttributes, deleteUserAttributes, and getTokensFromRefreshToken - Fix CognitoAuthFlowHandler.handleRefreshToken() to call the revocation check before issuing new tokens from REFRESH_TOKEN_AUTH flow - Update package-private constructor (used in tests) to accept the new store - Add AdminUserGlobalSignOutIntegrationTest covering the full sign-in → sign-out → token-reuse scenario (9 test cases) Closes #1395 * fix(cognito): only revoke tokens issued before global sign out instant * fix(cognito): correct time precision for global sign-out token invalidation