Files
floci/tools/aws
Priamo Germosen 7007b5f7fc fix(cloudwatch): check cloudwatch:ResourceArn on the resource metrics configuration operations (#10188)
The Service Reference gives Create, Get, Update and
DeleteResourceMetricsConfiguration the condition key
cloudwatch:ResourceArn, which Floci never put in the request context, so
an Allow scoping them with ArnLike on it allowed nothing and a Deny
conditioned on it denied nothing.

regen_request_condition_keys.py opts cloudwatch in, reading the key from
the ResourceArn member each request carries, as it reads redshift:DbUser
from DbUser, and request-condition-keys.json is regenerated. botocore
models CloudWatch in smithy-rpc-v2-cbor, which the request condition
reader did not read; it now reads such a namespace's request in the
protocol it arrives in, a Query form, or a JSON or CBOR body, as
CloudWatch takes all three.
2026-12-04 17:45:23 -04:00
..