mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
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.