mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
Every check Floci makes on an S3 bucket or object named its ARN itself: the direct path (ResourceArnBuilder), presigned URLs and the bucket policy checks (S3PublicAccessEvaluator), the Redshift COPY (RedshiftRoleAccess, S3CopySimulator), the Redshift audit log delivery and its logging setup, the Spectrum scratch object, the Step Functions s3:PutObject task, and the S3 resources CloudTrail records on a data event. S3ResourceArns now mints both, and S3ConditionKeys names s3:prefix and the listing context for S3Service, the COPY path and the condition resolver. Behaviour is unchanged. S3 stays built by hand rather than read from iam-request-resources.json: the generator's rule fills no variable of the object type from Bucket and Key, and ListObjects maps to no s3:ListBucket, so a direct GetObject would fall to *. Signed-off-by: Hector Ventura <hectorvent@gmail.com>