mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Under enforcement a REST route no rule maps and no vendored model names runs unchecked. Lake Formation, Macie and Inspector were among those: of their 33 served routes only Inspector's Disable had a rule, added by hand. AWS's Service Reference gives 32 of those 33 actions no resource type, so each is authorized on "*", which is what the route join added in #7461 already checks when the model is vendored. Vendors the three models, so all 33 are checked as their operation's action. A caller holding no grant for them is now refused where the request used to pass; that is the behaviour change. The 33rd is Macie's CreateMember, on the POST /members it shares with Security Hub, which AWS authorizes on the member it makes and with the tags it carries. A correction fills the member from account.accountId, so a grant or a deny scoped to one member holds, and Macie joins the tag-on-create table, so a request with tags needs macie2:TagResource and its tags are what aws:RequestTag and aws:TagKeys see. Inspector's Disable rule goes, since the vendored route gives the same action. Macie and Inspector move into the table of request resources, their reason for staying out (no model vendored) no longer being true. Lake Formation has no resource type at all, so that table does not list it. Regenerating the tables also brings in es:UpdateClone, which AWS has added since. Floci does not serve it.