mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* fix(dynamodb): enforce effective read selection in IAM policies Preserve generated action and request-member coverage, effective read projections, PartiQL attributes and independent BatchGetItem contexts. Rebase on current main and scope condition data verification to its vendored file, generator, tests and imported modules, retaining all existing IAM data gates. Signed-off-by: Andre Kurait <akurait@amazon.com> * fix(dynamodb): derive transaction read conditions from modeled members Use the generated transaction Get member paths before GetItem IAM extraction, so ignored legacy projection members cannot authorize whole-item reads. Signed-off-by: Andre Kurait <akurait@amazon.com> --------- Signed-off-by: Andre Kurait <akurait@amazon.com>
IAM-enabled compatibility cases
These cases require Floci with floci.services.iam.enforcement-enabled=true and
administrative test credentials. They are separate from the default tests/
suite, which runs with IAM enforcement disabled.
From compatibility-tests/sdk-test-python, run:
FLOCI_ENDPOINT=http://localhost:4566 pytest -q iam/test_dynamodb_select_defaults.py
The DynamoDB selection cases create disposable tables and roles, use scoped STS sessions, and delete their resources in reverse dependency order. They verify Query/Scan table and index defaults and explicit projection policies.