Files
floci/src/test/java/io
Sewci0 c2b635019b fix: read Action from form body in IAM enforcement filter (#655)
IamActionRegistry.resolve() only looked for the Action parameter in the
URL query string. AWS SDKs send Query-protocol calls (IAM, STS, EC2,
SQS, SNS, RDS, ELBv2, CloudFormation, CloudWatch, ...) as POST with
Action=... in the application/x-www-form-urlencoded body, so the
resolver always returned null for those services. Combined with the
permissive "unknown action -> ALLOW" fallback in IamEnforcementFilter
and the absence of any iam/sts/ec2/sqs/sns rules in the REST-JSON rule
table, IAM enforcement was silently bypassed for every Query-protocol
service.

Read Action from the form-encoded body when it isn't in the query
string, and restore the entity stream so AwsQueryController's
MultivaluedMap injection still works.
2026-04-30 17:53:57 -05:00
..