dataall
dataall copied to clipboard
Unrestricted S3 permissions for shares with consumer role
Describe the bug
Currently when a share is created for the consumer role, dataall automatically adds s3* permissions on the share. This must be restricted to read permissions only.
How to Reproduce
Create a consumer role and then create a data share. Check the IAM role policies for the consumer role to verify the s3 permissions added for the share.
Expected behavior
The consumer role should be updated to add only S3 read permissions when a share is created.
Your project
No response
Screenshots
No response
OS
Mac
Python version
3.10
AWS data.all version
2.4
Additional context
No response
@dlpzx @noah-paige I will add more details once i test the behavior in detail.
Verified that the dataset sharing policy added to consumption role is listing the actions as s3:*. This must be restricted to read only s3 permissions.