mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(iam): check the ses v2 legacy GET list routes as their actions (#9826)
The sesv2 model moved ListEmailIdentities and ListConfigurationSets to the POST /v2/email/list-* routes between botocore 1.43.104 and 1.43.105. SDKs built before that move still send GET /v2/email/identities and GET /v2/email/configuration-sets, which matched no route of the model, so those requests were allowed whatever the caller's SES grants were, an explicit Deny included. The REST route generator now reads those routes from botocore 1.43.104's own model: LEGACY names the release, and build_legacy vendors, for an operation both models hold on another route, the older route as an alternative checked as the operation's action. A regeneration carries them over offline, --fetch-legacy (make legacy-routes-sync) reads them again, and --verify compares the vendored block against the release. carried_legacy checks the vendored block. Closes #9818
This commit is contained in:
1 parent
0969678c23
commit
5eebe2f708
9 files changed
+319
-25
No files matched your search
@@ -9,7 +9,8 @@ name: IAM Data Drift
|
||||
# operation's request names, the DynamoDB condition key table, the IAM condition key table, the
|
||||
# S3 Control tag condition key table, and the request condition key table (Lambda Web and Redshift). It
|
||||
# also checks the routes rest-routes.json takes from the AWS page that documents an endpoint botocore does
|
||||
# not model (Glue's Iceberg REST endpoint). That
|
||||
# not model (Glue's Iceberg REST endpoint) and the legacy routes it takes from the botocore release whose
|
||||
# model still gave them (SES v2's list GETs). That
|
||||
# needs the live service reference index, so unlike every other check here it can
|
||||
# fail without anything in the repository having changed: an AWS outage, or a namespace AWS has
|
||||
# retired. It therefore runs on its own, never as part of a job that ordinary changes trigger.
|
||||
|
||||
Reference in new issue
Block a user